kagi-ken-mcp
@czottmann
About kagi-ken-mcp
Unofficial MCP server for working with Kagi *without* API access (you'll need to be a customer). Searches and summarizes. Uses Kagi session token for easy authentication. Works well with your agent.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"kagi-ken-mcp": {
"command": "npx",
"args": [
"-y",
"github:czottmann/kagi-ken-mcp"
],
"env": {
"KAGI_SESSION_TOKEN": "YOUR_SESSION_TOKEN_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-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.
FAQ from kagi-ken-mcp
How does kagi-ken-mcp differ from the official Kagi API?
The official Kagi API requires an API key (currently invite-only). kagi-ken-mcp uses your existing Kagi session token, making it accessible to any Kagi subscriber without separate API approval.
What runtime does kagi-ken-mcp require?
Node.js version 22 or later is required.
Where does my session token come from and how is it stored?
You copy it from the Session Link in your Kagi account settings. It can be stored in the KAGI_SESSION_TOKEN environment variable or in a file at ~/.kagi_session_token. The server checks the env var first, then falls back to the file.
What transport and authentication does kagi-ken-mcp use?
It uses the standard MCP transport (stdio) and authenticates via the session token. No extra auth mechanism is needed.
Are there any known limitations?
Each search query has a 10-second connection timeout. The server only supports the two tools listed (search and summarizer) and does not expose other Kagi API endpoints.
Frequently asked questions
How does kagi-ken-mcp differ from the official Kagi API?
The official Kagi API requires an API key (currently invite-only). kagi-ken-mcp uses your existing Kagi session token, making it accessible to any Kagi subscriber without separate API approval.
What runtime does kagi-ken-mcp require?
Node.js version 22 or later is required.
Where does my session token come from and how is it stored?
You copy it from the Session Link in your Kagi account settings. It can be stored in the `KAGI_SESSION_TOKEN` environment variable or in a file at `~/.kagi_session_token`. The server checks the env var first, then falls back to the file.
What transport and authentication does kagi-ken-mcp use?
It uses the standard MCP transport (stdio) and authenticates via the session token. No extra auth mechanism is needed.
Are there any known limitations?
Each search query has a 10-second connection timeout. The server only supports the two tools listed (search and summarizer) and does not expose other Kagi API endpoints.
Basic information
More Search MCP servers
SearXNG MCP Server
ihor-sokoliukPrivate web search for AI assistants via SearXNG — supports Claude, Cursor, and any MCP client
G-Search MCP
jae-jaeA powerful MCP server for Google search that enables parallel searching with multiple keywords simultaneously.
Google Search MCP Server
mixelpixxMCP Server built for use with Claude Code, Claude Desktop, VS Code, Cline - enable google search and ability to follow links and research websites
Google News MCP Server
ChanMeng666【Star-crossed coders unite!⭐️】Model Context Protocol (MCP) server implementation providing Google News search capabilities via SerpAPI, with automatic news categorization and multi-language support.
Tavily Mcp
tavily-aiProduction ready MCP server with real-time search, extract, map & crawl.
Comments