Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"kagi-server": {
"env": {
"KAGI_API_KEY": "your_api_key_here"
},
"command": "/path/to/kagi-server/build/index.js"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
This is a TypeScript-based MCP server that integrates the Kagi Search API. It demonstrates core MCP concepts by providing:
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'kagi-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked kagi-server against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in search
Web and local search using Brave Search API
The official MCP server implementation for the Perplexity API Platform
Production ready MCP server with real-time search, extract, map & crawl.
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
MCP Security Weekly
Get CVE alerts and security updates for Mcp Servers Kagi and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for Kagi API integration
This is a TypeScript-based MCP server that integrates the Kagi Search API. It demonstrates core MCP concepts by providing:
kagi_search - Perform web searches using Kagi
kagi_summarize - Generate summaries of web pages or textkagi_fastgpt - Get quick responses using Kagi's FastGPTkagi_enrich - Fetch enriched news results on specific topicsInstall dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
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"
}
}
}
}
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
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:
kagi_search tool to fetch results from Kagi's API.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:
This project is licensed under the MIT License.
kagi_summarize tool for webpage and text summarizationkagi_fastgpt tool for quick responseskagi_enrich tool for fetching enriched news results