websearch-mcp-server
Enables web search through Exa or Parallel APIs for MCP-compatible AI clients like Cursor and Claude Code.
README
websearch-mcp-server
Standalone MCP server for Exa/Parallel free web search + URL content fetching. Works with Cursor, Claude Code, Cline, Continue, opencode, and any MCP-compatible AI client.
Tools
| Tool | Description |
|---|---|
websearch |
Search the web via Exa or Parallel free MCP endpoints |
webfetch |
Fetch content from an HTTP/HTTPS URL as text/markdown/html |
Install
From npm (recommended)
npm install -g @clint419/websearch-mcp-server
From source
git clone https://github.com/clint419/websearch-mcp-server.git
cd websearch-mcp-server
npm install
npm run build
Configure
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"websearch": {
"command": "npx",
"args": ["-y", "@clint419/websearch-mcp-server"]
}
}
}
Claude Code
Add to ~/.claude/mcp.json:
{
"mcpServers": {
"websearch": {
"command": "npx",
"args": ["-y", "@clint419/websearch-mcp-server"]
}
}
}
Cline / Continue
Same pattern. Add to their MCP config with the command above.
Local development
{
"command": "npx",
"args": ["tsx", "/path/to/websearch-mcp-server/src/index.ts"]
}
HTTP Streamable (remote / shared)
Start the HTTP server:
npx @clint419/websearch-mcp-server-http
# or: npm run start:http
Add to MCP config:
{
"mcpServers": {
"websearch": {
"url": "http://127.0.0.1:3000/mcp",
"transport": "streamable-http"
}
}
}
Environment Variables
| Variable | Values | Default | Description |
|---|---|---|---|
WEBSEARCH_PROVIDER |
exa, parallel |
exa |
Which upstream to use |
EXA_API_KEY |
string | (none) | Optional Exa API key |
PARALLEL_API_KEY |
string | (none) | Optional Parallel API key |
MCP_PORT |
number | 3000 |
HTTP Streamable listen port |
MCP_HOST |
string | 127.0.0.1 |
HTTP Streamable bind address |
Source Structure
src/
index.ts – stdio MCP entry point
http.ts – HTTP Streamable MCP entry point (stateful)
server.ts – shared MCP server: tool registration
websearch.ts – Exa/Parallel MCP client with retry + failover
webfetch.ts – URL content fetcher (HTML→text/markdown conversion)
Reliability
- Retry: Up to 2 retries with exponential backoff (1s, 2s) on network errors
- Failover: If primary provider fails, automatically tries the other provider
- Timeout: 25s per request
- Free tier: No API key required by default
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.