Overview
Kagi Server is a TypeScript-based MCP server that integrates with the Kagi Search API, allowing users to perform web searches and other operations using Kagi's API.
To use Kagi Server, install the necessary dependencies, set up your environment with your Kagi API key, and run the server. Once running, you can perform web searches through connected applications like Claude Desktop.
- Implements the
kagi_searchtool for performing web searches. - Planned tools includekagi_summarize,kagi_fastgpt, andkagi_enrichfor additional functionalities. - Easy installation via Smithery CLI.
- Performing web searches for specific queries.
- Integrating with applications like Claude Desktop for enhanced search capabilities.
- Future use cases with planned tools for summarization and enriched news results.
Add to your AI client
Use these steps to connect kagi-server MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"ac3xx-mcp-servers-kagi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ac3xx-mcp-servers-kagi-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"ac3xx-mcp-servers-kagi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ac3xx-mcp-servers-kagi-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"ac3xx-mcp-servers-kagi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ac3xx-mcp-servers-kagi-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"ac3xx-mcp-servers-kagi-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ac3xx-mcp-servers-kagi-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ac3xx-mcp-servers-kagi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ac3xx-mcp-servers-kagi-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"ac3xx-mcp-servers-kagi-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-ac3xx-mcp-servers-kagi-mcp-mirror"
]
}
}
}FAQ
What is the Kagi API?
The Kagi API allows users to perform web searches and retrieve results programmatically.
How do I install Kagi Server?
You can install Kagi Server using the Smithery CLI with the command: `npx @smithery/cli install kagi-server --client claude`.
What tools are currently implemented?
Currently, the `kagi_search` tool is implemented, with more tools planned for future releases.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":701,"uuid":"5fce03b3-abde-4e5d-afca-28f84cc30c89","name":"ac3xx_mcp-servers-kagi","title":"kagi-server MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"$D2024-12-30T03:26:54.054Z","updated_at":"$D2025-02-23T07:16:03.036Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"kagi,mcp-server,api-integration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/ac3xx_mcp-servers-kagi","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/9a80404a546394ba763eea49bbb5e64e61b4239dd107fea58e8ba586aecdbb45/68747470733a2f2f736d6974686572792e61692f62616467652f6b6167692d736572766572","type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]