Kagi
About
Perform privacy-focused web searches via Kagi's search engine.
Details
- Author
- ac3xx
- Repository
- ac3xx/mcp-servers-kagi
- GitHub stars
- 38
- Downloads
- 512
- License
- MIT License
- Categories
- Search, Community, Other, AI, Design, Developer Tools, Knowledge Base, API, Infrastructure, Frontend
Jump to
- kagi_search tool for web searches via Kagi API
- Takes a query string and optional limit parameter
- Built with TypeScript and the MCP SDK
- Installable via Smithery or manual config
- Debugging support via MCP Inspector
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
KagiCommand (node, npx, python, etc.)/path/to/kagi-server/build/index.jsEnvironment-
KAGI_API_KEY
your_api_key_here
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
KAGI_API_KEY
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Once the server is running and connected to Claude Desktop, you can use it to perform web searches. For example:
1. Ask Claude: "Can you search for information about the latest advancements in quantum computing?"
2. Claude will use the kagi_search tool to fetch results from Kagi's API.
3. Claude will then summarize or analyze the search results for you.
Create a .env file in the root directory with your Kagi API key:
KAGI_API_KEY=your_api_key_here
Make sure to add .env to your .gitignore file to keep your API key secure.
To install Kagi Server for Claude Desktop automatically via Smithery:
npx @smithery/cli install kagi-server --client claude
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"kagi-server": {
"command": "/path/to/kagi-server/build/index.js",
"env": {
"KAGI_API_KEY": "your_api_key_here"
}
}
}
}
kagi_search
Perform web searches using Kagi. Takes a query string and optional limit as parameters. Returns search results from Kagi's API.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"kagi": {
"env": {
"KAGI_API_KEY": "your_api_key_here"
},
"args": [],
"command": "/path/to/kagi-server/build/index.js"
}
}
}
Linux
{
"env": {
"KAGI_API_KEY": "your_api_key_here"
},
"args": [],
"command": "/path/to/kagi-server/build/index.js"
}
Macos
{
"env": {
"KAGI_API_KEY": "your_api_key_here"
},
"args": [],
"command": "/path/to/kagi-server/build/index.js"
}
Windows
{
"env": {
"KAGI_API_KEY": "your_api_key_here"
},
"args": [],
"command": "/path/to/kagi-server/build/index.js"
}
- Tools for performing web searches and other operations using Kagi's API (currently in private beta)
- kagi_search- Perform web searches using Kagi
- Takes a query string and optional limit as parameters
- Returns search results from Kagi's API
- kagi_summarize- Generate summaries of web pages or text
- kagi_fastgpt- Get quick responses using Kagi's FastGPT
- kagi_enrich- Fetch enriched news results on specific topics
Create a.envfile in the root directory with your Kagi API key:
Make sure to add.envto your.gitignorefile to keep your API key secure.
To install Kagi Server for Claude Desktop automatically viaSmithery:
npx @smithery/cli install kagi-server --client claude
To use with Claude Desktop, add the server config:
On MacOS:~/Library/Application Support/Claude/claude_desktop_config.jsonOn Windows:%APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "kagi-server": { "command": "/path/to/kagi-server/build/index.js", "env": { "KAGI_API_KEY": "your_api_key_here" } } } }
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using theMCP Inspector, which is available as a package script:
The Inspector will provide a URL to access debugging tools in your browser.
Once the server is running and connected to Claude Desktop, you can use it to perform web searches. For example:
- Ask Claude: "Can you search for information about the latest advancements in quantum computing?"
- Claude will use thekagi_searchtool to fetch results from Kagi's API.
- Claude will then summarize or analyze the search results for you.
Note: The planned tools (summarize, fastgpt, enrich) are not yet implemented and cannot be used.
Contributions are welcome! Please feel free to submit a Pull Request. Some areas for contribution include:
- Implementing the planned tools (summarize, fastgpt, enrich)
- Improving error handling and input validation
- Enhancing documentation and usage examples
This project is licensed under the MIT License.
- Implementkagi_summarizetool for webpage and text summarization
- Implementkagi_fastgpttool for quick responses
- Implementkagi_enrichtool for fetching enriched news results
- Improve error handling and add more robust input validation
- Add more comprehensive usage examples and documentation
- Publish the package to npm for easy installation and use with Claude Desktop and npx
Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.
Search for IP addresses using Chaitin's IP Intelligence API.
Get any answer from the Facebook Ads Library, conduct deep research including messaging, creative testing and comparisons in seconds.
Google News search capabilities with automatic topic categorization and multi-language support via SerpAPI integration.
A Model Context Protocol (MCP) server providing access to Google Programmable Search Engine (PSE) and Custom Search Engine (CSE).
A Model Context Protocol (MCP) server providing access to Google Search Console.
A Model Context Protocol (MCP) server for the Open Library API that enables AI assistants to search for book and author information.
An enhanced MCP server for SearXNG web searching, utilizing a category-aware web-search, web-scraping, and includes a date/time retrieval tool.
Local RAG (on-premises) with MCP server.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



