Synthetic Web Search MCP Server
This server provides web search capabilities through the Synthetic API as an MCP tool for Claude and other MCP-compatible applications.
Perform web searches using the
search_webtool with natural language queriesRetrieve structured search results in JSON format containing URL, title, text snippet, and publication date for each result
Integrate with MCP-compatible applications including Claude Desktop, Claude Code, and opencode via simple configuration
Test and inspect functionality independently using the MCP Inspector tool for development and debugging
Simple authentication using a Synthetic API key passed as an environment variable (bearer token)
Access real-time web information via the Synthetic API endpoint (https://api.synthetic.new/v2/search)
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Synthetic Web Search MCP Serversearch for the latest news about OpenAI's Sora"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Synthetic Web Search MCP Server
A Model Context Protocol (MCP) server that exposes the Synthetic web search API as a tool for use with Claude and other MCP-compatible applications.
Overview
This server provides a search_web tool that allows MCP clients to perform web searches using the Synthetic API. Search results are returned as formatted JSON containing URL, title, text, and published date fields.
Related MCP server: Synthetic Search MCP Server
Quick Start with Claude Code
Add the MCP server to Claude Code with a single command:
claude mcp add synthetic-web-search -e SYNTHETIC_API_KEY=your_api_key_here -- npx -y synthetic-web-search-mcp@latestReplace your_api_key_here with your actual Synthetic API key.
Usage with Claude Desktop
To use this MCP server with Claude Desktop, add the following to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"synthetic-web-search": {
"command": "npx",
"args": ["-y", "synthetic-web-search-mcp@latest"],
"env": {
"SYNTHETIC_API_KEY": "your_actual_api_key_here"
}
}
}
}After adding the configuration, restart Claude Desktop. You can then use the web search tool in your conversations.
Usage with opencode
To use this MCP server with opencode, add the following to your opencode configuration:
{
"mcp": {
"synthetic-web-search": {
"type": "local",
"command": ["npx", "-y", "synthetic-web-search-mcp@latest"],
"environment": {
"SYNTHETIC_API_KEY": "your_actual_api_key_here"
},
"enabled": true
}
}
}Replace your_actual_api_key_here with your actual Synthetic API key. Restart opencode after adding the configuration.
Local Development & Testing
1. Prerequisites
Node.js 18+
2. Install & build
npm install
npm run build3. Test with MCP Inspector
The fastest way to verify the server interactively without any client configuration:
SYNTHETIC_API_KEY=your_key_here \
npx @modelcontextprotocol/inspector node dist/index.jsThis opens a browser UI where you can invoke search_web directly. Try:
queryonly →textis capped at the default 1000 characters.query+max_text_length: 200→ tighter truncation to quickly scan results.query+max_text_length: 5000→ more content when you need full detail.
4. Test with Claude Code (local build)
claude mcp add synthetic-web-search \
-e SYNTHETIC_API_KEY=your_key_here \
-- node /absolute/path/to/synthetic-web-search-mcp/dist/index.js5. Test with Claude Desktop (local build)
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"synthetic-web-search": {
"command": "node",
"args": ["/absolute/path/to/synthetic-web-search-mcp/dist/index.js"],
"env": {
"SYNTHETIC_API_KEY": "your_key_here"
}
}
}
}Restart Claude Desktop after saving the file.
Available Tools
search_web
Search the web using the Synthetic API.
Arguments:
query(string, required): The search query stringmax_text_length(number, optional, default:1000): Maximum number of characters to include in thetextfield of each result. Useful for preventing large snippets from flooding the context window. Results exceeding this length are truncated with.... Pass a larger value when you need the full content of a result.
Example:
Search for " TypeScript documentation"Returns: A JSON array of search results, each containing:
url: The link to the search resulttitle: The title of the pagetext: A snippet or content from the pagepublished: Publication date (if available)
API Details
Endpoint:
https://api.synthetic.new/v2/searchMethod: POST
Authentication: Bearer token via
AuthorizationheaderRequest Body: JSON with
queryfield
Project Structure
synthetic-web-search-mcp/
├── package.json
├── tsconfig.json
├── .env.example
├── README.md
├── src/
│ └── index.ts
└── dist/ (generated after build)
├── index.js
└── index.d.tsLicense
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-quality-maintenanceEnables web search capabilities within MCP-compatible LLM clients using the Parallel Search API. Designed for daily use and everyday smaller web-search tasks.16
- AlicenseAqualityDmaintenanceProvides privacy-focused web search capabilities with zero-data-retention for MCP-enabled applications. It allows users to execute search queries and retrieve ranked results using the Synthetic Search API.17MIT
- Alicense-qualityDmaintenanceExposes a standardized web search tool via Brave Search for MCP clients like Codex, Claude, and Cursor, returning stable JSON.MIT
- Alicense-qualityDmaintenanceEnables LLMs to perform real-time Google searches and retrieve web results via the MCP protocol.The Unlicense
Related MCP Connectors
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
Serper MCP — wraps the Serper Google Search API (serper.dev)
The best web search for your AI Agent
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/parnexcodes/synthetic-web-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server