kagi-mcp-server-0.0.31 is not a library.
kagi-mcp-server
A Model Context Protocol (MCP) server that provides Kagi search, summarization, FastGPT, and enrichment tools to AI assistants.
Built with the official rmcp Rust MCP SDK and the kagiapi client library.
Installation
From crates.io
From npm (downloads pre-built binary)
From source
Available Tools
| Tool | Description |
|---|---|
kagi_search_fetch |
Web search using Kagi's privacy-focused search API |
kagi_fastgpt |
AI-powered answers with automatic web search and citations |
kagi_enrich_web |
Find non-commercial "small web" content and discussions |
kagi_enrich_news |
Find non-mainstream news sources and alternative perspectives |
kagi_summarizer |
Summarize web pages, documents, PDFs, videos, and audio |
MCP Client Configuration
Claude Code
Or using npx (no Rust toolchain needed):
OpenCode
Add to your opencode.json:
Claude Desktop
Add to claude_desktop_config.json:
Or with npx:
Cursor
Add to Cursor MCP settings:
Zed
Install the "Kagi MCP Server" extension from the Zed extension marketplace, then add to your Zed settings:
CLI Options
kagi-mcp-server [OPTIONS]
Options:
--api-key <API_KEY> Kagi API key [env: KAGI_API_KEY]
--summarizer-engine <SUMMARIZER_ENGINE> Default summarizer engine [env: KAGI_SUMMARIZER_ENGINE] [default: cecil]
--search-api-version <VERSION> API version for search [env: KAGI_SEARCH_API_VERSION] [default: v0]
--summarizer-api-version <VERSION> API version for summarizer [env: KAGI_SUMMARIZER_API_VERSION] [default: v0]
--fastgpt-api-version <VERSION> API version for FastGPT [env: KAGI_FASTGPT_API_VERSION] [default: v0]
--enrich-api-version <VERSION> API version for enrichment [env: KAGI_ENRICH_API_VERSION] [default: v0]
-h, --help Print help
-V, --version Print version
All options can also be set via environment variables.
Prerequisites
- API Key: Get your API key from Kagi Settings
- API Access: The Search API is currently in closed beta. Request access by emailing support@kagi.com
License
MIT License - see LICENSE for details.