Search Kagi and summarize web, video, or audio URLs through an MCP server authenticated with a Kagi session token.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Kagi Ken MCP.
kagi_search_fetchFetch web results based on one or more queries using the Kagi Search API. Results are numbered continuously for easy reference.
kagi_summarizerSummarize content from URLs using the Kagi Summarizer API. Supports various document types including webpages, videos, and audio.
The czottmann/kagi-ken-mcp MCP server connects MCP clients to selected Kagi services without requiring a separate Kagi API key. It uses an existing Kagi session token, so it is intended for Kagi customers who want agents to search the web or summarize content.
The server exposes two tools:
kagi_search_fetch accepts one or more text queries and returns Kagi web results. Results are numbered continuously, which helps an agent refer to specific entries.kagi_summarizer summarizes content identified by a URL. The supported inputs include webpages, videos, and audio. The caller can request paragraph-style output or bullet-point takeaways, and can specify a target language.The czottmann/kagi-ken-mcp MCP server runs locally as a lightweight Node.js MCP process and uses the kagi-ken package to access Kagi. For authentication, it checks KAGI_SESSION_TOKEN first. If that variable is absent, it reads the token from ~/.kagi_session_token.
A session token can be obtained from Kagi account settings by copying the Session Link and extracting its token value. The token grants access to the associated Kagi account and should be treated as private account credentials.
Search accepts an array of queries and processes searches concurrently. Each search has a 10-second connection timeout. The server also validates inputs and formats errors for MCP clients.
Node.js 22+ is required. The repository provides an npx configuration that runs the server directly from GitHub:
With this configuration, place the token in ~/.kagi_session_token. Alternatively, pass KAGI_SESSION_TOKEN in the MCP client's environment configuration. Claude Desktop and Claude Code installation examples are provided in the project documentation. For local development, clone the repository, run npm install, and start it with npm run dev.
kagi_search_fetch takes queries, an array of strings containing one or more searches. It returns fetched Kagi search results with continuous numbering.
kagi_summarizer takes a required url. Its summary_type option accepts summary for paragraph prose or takeaway for bullet points, with summary as the default. The optional target_language uses a language code such as EN, which is also the default.
The czottmann/kagi-ken-mcp MCP server requires an existing Kagi customer session and does not provide access independently of that account. It is not affiliated with or endorsed by Kagi. Keep the session token confidential because it provides access to the Kagi account.
The documented client setup focuses on local use with Claude Desktop and Claude Code. The server requires Node.js 22 or newer, and search requests have a 10-second connection timeout. Built-in web search may need to be disabled in Claude Desktop or Claude Code if the goal is to route searches through these tools.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/czottmann-kagi-ken-mcp)<a href="https://allmcps.com/mcp/czottmann-kagi-ken-mcp"><img src="https://allmcps.com/api/badge/czottmann-kagi-ken-mcp?style=directory" alt="Kagi Ken MCP on AllMCPs" /></a>