The Kagi MCP Server provides access to Kagi's search and summarization tools:
- Web Search: Execute one or more search queries, returning numbered results for easy reference.
- Content Summarization: Summarize videos or other content using customizable engines like 'cecil' or 'daphne'.
- Claude Desktop Integration: Configure and integrate with Claude Desktop for enhanced functionality.
- Customization Options: Adjust logging levels via the
FASTMCP_LOG_LEVEL
environment variable. - Requirements: Needs a Kagi API key and access to Kagi's closed beta search API.
Integrates with Kagi search API to provide search capabilities to Claude AI, allowing Claude to answer questions requiring up-to-date information through internet search
Kagi MCP server
Setup Intructions
Before anything, unless you are just using non-search tools, ensure you have access to the search API. It is currently in closed beta and available upon request. Please reach out to support@kagi.com for an invite.
Install uv first.
MacOS/Linux:
Windows:
Installing via Smithery
Alternatively, you can install Kagi for Claude Desktop via Smithery:
Setup with Claude Desktop
Pose query that requires use of a tool
e.g. "Who was time's 2024 person of the year?" for search, or "summarize this video: https://www.youtube.com/watch?v=jNQXAC9IVRw" for summarizer.
Debugging
Run:
Local/Dev Setup Instructions
Clone repo
git clone https://github.com/kagisearch/kagimcp.git
Install dependencies
Install uv first.
MacOS/Linux:
Windows:
Then install MCP server dependencies:
Setup with Claude Desktop
Using MCP CLI SDK
Manually
Pose query that requires use of a tool
e.g. "Who was time's 2024 person of the year?" for search, or "summarize this video: https://www.youtube.com/watch?v=jNQXAC9IVRw" for summarizer.
Debugging
Run:
Then access MCP Inspector at http://localhost:5173
. You may need to add your Kagi API key in the environment variables in the inspector under KAGI_API_KEY
.
Advanced Configuration
- Level of logging is adjustable through the
FASTMCP_LOG_LEVEL
environment variable (e.g.FASTMCP_LOG_LEVEL="ERROR"
)- Relevant issue: https://github.com/kagisearch/kagimcp/issues/4
- Summarizer engine can be customized using the
KAGI_SUMMARIZER_ENGINE
environment variable (e.g.KAGI_SUMMARIZER_ENGINE="daphne"
)- Learn about the different summarization engines here
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
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.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityAn MCP protocol server that enables web search functionality using the Tavily API, allowing AI assistants to perform internet searches in real-time.Last updated -42Python
- -securityFlicense-qualityAn MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.Last updated -1Python
- -securityFlicense-qualityA MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.Last updated -5TypeScript
- AsecurityAlicenseAqualityAn MCP server implementation that allows AI assistants to access, search, and interact with Dev.to content, including fetching articles, retrieving user information, and publishing new content.Last updated -1053PythonMIT License