What is kagi-ken-mcp?
kagi-ken-mcp is a lightweight Node MCP server that wraps the kagi-ken package to provide access to Kagi.com services—Search and Summarizer—using a Kagi session token instead of an API key. It is built for users who have a Kagi subscription but lack invite-only API access.
How to use kagi-ken-mcp?
Requires Node.js 22+. Obtain your Kagi session token from your Kagi account settings (Session Link) and save it to ~/.kagi_session_token or set as the KAGI_SESSION_TOKEN environment variable. Add the server to Claude Desktop or Claude Code via the provided JSON configuration, then invoke its two tools (kagi_search_fetch and kagi_summarizer) for searches or URL summarization.
Key features of kagi-ken-mcp
- Search: fetch web results via Kagi Search with concurrent query support.
- Summarize: generate summaries from URLs, with customizable output type and language.
- Session token provided via environment variable or a local file.
- Comprehensive error handling: timeouts, input validation, and graceful formatting.
- No separate API key required — works with an existing Kagi session.
Use cases of kagi-ken-mcp
- Perform web searches from within LLM agents like Claude without needing Kagi API access.
- Summarize webpages, videos, or audio content using Kagi’s Summarizer.
- Integrate Kagi’s search and summarization into custom workflows or automation tools.
コメント