Simple MCP Search Server
by MartinSchlott
An MCP (Model Context Protocol) server that provides search capabilities using Jina.ai APIs. It offers functionalities to search the web, read webpages, and perform deep, multi-step searches with reasoning.
View on GitHub
Last updated: N/A
Simple MCP Search Server
An MCP (Model Context Protocol) server implementation that provides search capabilities using Jina.ai APIs.
Features
searchWeb
: Search the web for informationreadPage
: Read and convert a webpage to markdown formatperformDeepSearch
: Execute a deep, multi-step search with reasoning
Prerequisites
- Node.js 18 or higher
- A valid Jina.ai API key
Installation
- Clone the repository
- Install dependencies:
npm install
- Copy the example configuration:
cp config.example.json config.json
- Edit
config.json
and add your Jina.ai API key
Usage
-
Build the TypeScript code:
npm run build
-
Start the server:
npm start config.json
Or run in development mode:
npm run dev config.json
Configuration
The server requires a JSON configuration file with the following structure:
{
"name": "simple-search-server",
"version": "1.0.0",
"apiKeys": {
"jina": "YOUR_JINA_API_KEY"
},
"logLevel": "info"
}
Tools
searchWeb
Search the web for information using Jina's search API.
Input:
{
query: string; // The search query
site?: string; // Optional: Domain to restrict the search to
}
readPage
Read a webpage and convert it to markdown format.
Input:
{
url: string; // URL of the webpage to read
}
performDeepSearch
Perform a deep search on a topic, reading multiple pages and synthesizing information.
Input:
{
query: string; // The search query for deep research
reasoning_effort?: string; // Optional: Research intensity ("low", "medium", "high")
no_direct_answer?: boolean; // Optional: Whether to avoid direct answers
}