Kagi MCP Server
@mgomes
About Kagi MCP Server
Kagi MCP server written in Go
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"kagi": {
"command": "./kagimcp",
"args": [],
"env": {
"KAGI_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Kagi MCP Server?
A Model Context Protocol (MCP) server that integrates with Kagi’s search and summarizer APIs, allowing Large Language Models (LLMs) to search the web and summarize web pages using Kagi’s privacy-focused search and AI capabilities.
How to use Kagi MCP Server?
Install by cloning the repository and building with Go (requires Go 1.18+ and a Kagi API key). Run with -t stdio for subprocess communication or -t sse -port 8080 for an HTTP server. Provide the API key via the KAGI_API_KEY environment variable or the -api-key flag. Integrate with Claude by adding a JSON entry under mcpServers in Claude’s configuration.
Key features of Kagi MCP Server
- 🔍 Kagi Search: Search the web with Kagi’s privacy-focused search engine
- 📝 Kagi Summarizer: Summarize web pages using Kagi’s FastGPT APIs
- 🔄 Multiple Transports: Support for stdio and Server-Sent Events (SSE)
- 🔑 API Key Management: Flexible options for providing Kagi API keys
- Two available tools:
kagi_searchandkagi_summarize
Use cases of Kagi MCP Server
- Enable an LLM to search the web for current information
- Summarize any public webpage using AI
- Integrate web search and summarization into Claude or other MCP-compatible platforms
- Build privacy-aware research assistants that use Kagi’s search engine
FAQ from Kagi MCP Server
What is the Kagi MCP Server and how does it differ from direct API usage?
It provides a standardized MCP interface so LLMs can call Kagi’s search and summarizer APIs as tools, without the LLM needing direct API credentials or custom code.
What dependencies or runtime requirements are needed?
Go 1.18+ for building from source, and a Kagi API key (available to Kagi subscribers). No external services beyond Kagi’s APIs are required.
Where does data live and what are the transport options?
Data is sent to and from Kagi’s servers. The server supports two transports: stdio (subprocess communication) and SSE (HTTP server, default port 8080).
How do I authenticate and configure the API key?
Set the KAGI_API_KEY environment variable or pass it via the -api-key command-line flag. The key is used to authenticate all requests to Kagi’s APIs.
Can I use the Kagi MCP Server with Claude?
Yes. Start the server in stdio mode and add a matching mcpServers configuration in Claude’s JSON settings, providing the command and API key.
More Search MCP servers
Version 2.0 is here!!
mixelpixxMCP Server built for use with Claude Code, Claude Desktop, VS Code, Cline - enable google search and ability to follow links and research websites
Perplexity MCP Server
wysh3MCP web search using perplexity without any API KEYS
Bing Search MCP Server
leehanchungMCP Server for Bing Search API
Serper Search and Scrape MCP Server
marcopesaniSerper MCP Server supporting search and webpage scraping
小红书自动搜索评论工具(MCP Server 2.0)
chenningling这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client(如Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布AI生成评论等操作。
Comments