
Web Search
STDIOMCP server that performs web searches and extracts full page content from search results.
MCP server that performs web searches and extracts full page content from search results.
A TypeScript MCP (Model Context Protocol) server that performs web searches and extracts full page content from search results.
When a search is requested, the server:
This MCP server has been developed and tested with LM Studio. It has not been tested with other MCP clients.
Important: Prioritise using more recent models designated for tool use.
Older models (even those with tool use specified) may not work and may throw a "Model failed to generate a tool call", "The AI has nothing to say" or a different error.
~/mcp-servers/web-search-mcp/
)This will create anpm install
node_modules
folder with all required dependencies.mcp.json
to point to the extracted dist/index.js
file:{ "mcpServers": { "web-search": { "command": "node", "args": ["/path/to/extracted/web-search-mcp/dist/index.js"] } } }
Example paths:
~/mcp-servers/web-search-mcp/dist/index.js
C:\mcp-servers\web-search-mcp\dist\index.js
Note: You must run npm install
in the root of the extracted folder (not in dist/
).
git clone https://github.com/mrkrsl/web-search-mcp.git cd web-search-mcp npm install npm run build
npm run dev # Development with hot reload npm run build # Build TypeScript to JavaScript npm run lint # Run ESLint npm run format # Run Prettier
Add to your mcp.json
:
{ "mcpServers": { "web-search": { "command": "node", "args": ["/path/to/web-search-mcp/dist/index.js"] } } }
This server provides a full-web-search
tool that:
{ "name": "full-web-search", "arguments": { "query": "TypeScript MCP server", "limit": 3, "includeContent": true } }
You can also run the server directly:
# If running from source npm start
See API.md for complete technical details.
MIT License - see LICENSE for details.
This is an open source project and we welcome feedback! If you encounter any issues or have suggestions for improvements, please: