Overview
Features
Kagi Search API MCP integration
Exposes Kagi's web search API through MCP to power web search in Claude and Codex workflows.
Claude Desktop/Code integration
Configures Claude Desktop and Claude Code to call kagimcp via MCP, enabling search results within Claude tools.
Codex CLI integration
Register the MCP server with Codex CLI using codex mcp add kagi; writes config to ~/.codex/config.toml.
Configurable summarizer engine
Summarizer engine controlled via KAGI_SUMMARIZER_ENGINE; defaults to Cecil; supports alternatives like daphne.
Environment variable-based configuration
Requires KAGI_API_KEY and optional KAGI_SUMMARIZER_ENGINE to tailor behavior.
Debugging and MCP Inspector
Debug using MCP Inspector at http://localhost:5173 and inspector commands.
Advanced deployment options
The --http flag enables streamable HTTP transport, with optional --port and --host settings.
Local/Dev setup workflow
Guides for cloning the repo, creating a Python venv with uv, and installing dependencies via uv sync.
Who Is This For?
- Developers:Integrate Kagi search API via MCP for Claude/Code and Codex workflows.
- MCP integrators:Configure MCP to expose Kagi endpoints using KAGI_API_KEY and engine settings.
- QA Engineers:Test and debug MCP server behavior with inspector and env vars.




