Synthetic Search MCP Server
Provides 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.
README
<div align="center">
🔍 Synthetic Search MCP Server
Web search capabilities for your MCP-enabled applications with zero-data-retention privacy.
Installation • Usage • Configuration • API Reference
</div>
✨ Features
<table> <tr> <td width="50%">
🔒 Privacy First
Zero-data-retention search ensures your queries remain private and secure.
</td> <td width="50%">
⚡ Fast & Accurate
Get relevant web search results in milliseconds with high-quality ranking.
</td> </tr> <tr> <td width="50%">
🔧 Easy Integration
Simple MCP tool interface that works seamlessly with OpenCode and other MCP clients.
</td> <td width="50%">
📦 Zero Dependencies
Lightweight implementation with minimal external dependencies for reliability.
</td> </tr> </table>
🚀 Installation
Prerequisites
- Node.js 20 or higher
- A Synthetic API key (Get one here)
Quick Start
# Clone the repository
git clone https://github.com/joephaser/synthetic-search-mcp.git
cd synthetic-search-mcp
# Install dependencies
npm install
# Build the project
npm run build
🎯 Usage
1. Configure Your API Key
# Option 1: Environment variable
export SYNTHETIC_API_KEY="your-api-key-here"
# Option 2: Using .env file
cp .env.example .env
# Edit .env and add your API key
2. Run the Server
# Production mode
npm start
# Development mode with hot reload
npm dev
3. Test It
export SYNTHETIC_API_KEY="your-api-key"
npm test
⚙️ Configuration
OpenCode Integration
Add this MCP server to your OpenCode configuration at ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"synthetic-search": {
"type": "local",
"command": ["node", "/path/to/synthetic-search-mcp/dist/index.js"],
"environment": {
"SYNTHETIC_API_KEY": "your-api-key-here"
},
"enabled": true
}
}
}
Note: Replace
/path/to/synthetic-search-mcpwith the actual path to your installation andyour-api-key-herewith your Synthetic API key.
📚 API Reference
Tool: synthetic_search
Search the web using Synthetic's privacy-focused search API.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string |
✅ Yes | The search query to execute |
Example Request
{
"query": "latest TypeScript features 2024"
}
Response Format
{
"results": [
{
"title": "What's New in TypeScript 5.4",
"url": "https://example.com/article",
"date": "2024-03-15",
"snippet": "TypeScript 5.4 introduces several exciting features..."
}
]
}
Result Fields
- Title - The page title
- URL - Direct link to the source
- Date - Publication date (when available)
- Snippet - Relevant excerpt from the content
🛠️ Development
# Run in development mode
npm run dev
# Build for production
npm run build
# Run linting
npm run lint
# Run tests
npm test
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
<div align="center">
Made with ❤️ for the MCP community
</div>
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.
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.
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.
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.