Kagi MCP Server
The Kagi MCP server enables interaction with the Kagi API for web search and context enrichment:
Ask FastGPT: Search the web and retrieve answers with references
Enrich Web: Add general, non-commercial web content using concise queries (1-3 words recommended)
Enrich News: Add latest news and discussions using concise queries (1-3 words recommended)
Allows to search web using Kagi API, providing tools for web search (fastgpt), web content enrichment, and news enrichment
Click on "Deploy 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., "@Kagi MCP Server search for recent advancements in quantum computing"
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.
Kagi MCP server
MCP server that allows to search web using Kagi API
Components
Resources
The server implements calls of API methods:
fastgpt
enrich/web
enrich/news
Prompts
The server provides doesn't provide any prompts:
Tools
The server implements several tools:
ask_fastgpt to search web and find an answer
enrich_web to enrich model context with web content
enrich_news to enrich model context with latest news
Related MCP server: Kagi MCP Server
Configuration
Quickstart
Install
Installing via Smithery
To install the Kagi MCP server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install kagi-mcp --client claudeClaude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Development
Building and Publishing
To prepare the package for distribution:
Sync dependencies and update lockfile:
uv syncBuild package distributions:
uv buildThis will create source and wheel distributions in the dist/ directory.
Publish to PyPI:
uv publishNote: You'll need to set PyPI credentials via environment variables or command flags:
Token:
--tokenorUV_PUBLISH_TOKENOr username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
Debugging
npx @modelcontextprotocol/inspector uv --directory path_to_project run kagi-mcpAvailable Tools
3 toolsask_fastgptC
Ask fastgpt to search web and give an answer with references
Inputs: query (required).
enrich_newsC
Enrich context with web content focused on non-commercial news and discussions.
Inputs: query (required).
enrich_webC
Enrich context with web content focused on general, non-commercial web content.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools have overlapping purposes that could cause confusion. 'enrich_news' and 'enrich_web' both enrich context with web content, differing mainly in focus (news vs general), which may not be clear to an agent. 'ask_fastgpt' also involves web content for answers, creating ambiguity in tool selection.
The naming follows a consistent verb_noun pattern throughout (ask_fastgpt, enrich_news, enrich_web), which is predictable and readable. There are no deviations in style, making it easy to parse.
With only 3 tools, the count feels thin for a web search and enrichment server, potentially limiting functionality. While not extreme, it may lack coverage for common operations like filtering or managing searches.
The tool set has significant gaps for a web content server. There are no tools for basic operations like searching without enrichment, filtering results, or handling different content types beyond news and general web. This could lead to agent failures when trying to perform common tasks.
Maintenance
Related MCP Connectors
30+ web-access and AI APIs behind one key: search, scraping, browsers, voice, OCR and LLMs.
Web search, page fetch and cited research for AI agents: 26 engines, 8 tools, one key, from $15/mo.
Web search and page-reading for AI agents. One-click OAuth connect, or a Caesar API key.
Real-time web search, reasoning, and research through Perplexity's API
Related MCP Servers
- MIT
- AlicenseNot gradedqualityDmaintenanceEnables integration with Kagi search engine services including web search, content summarization from URLs, and AI assistant conversations. Uses session tokens to access Kagi's search API, summarizer, and AI models directly within MCP-compatible applications.14 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform real-time web searches, deep research, content extraction, and AI-powered answers via the KEIRO API.MIT
- AlicenseAqualityDmaintenanceEnables AI agents to search Kagi using a personal Kagi Session Link, providing web search results and account lens information.24 npmMIT