Kagi Search
Free Kagi Search MCP server — access search and summarizer via session tokens, no API key needed. Works with Claude Desktop, Cursor, Windsurf, Hermes and any MCP client.
What is Kagi Search?
Kagi Search is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to free kagi search mcp server — access search and summarizer via session tokens, no api key needed. works with claude desktop, cursor, windsurf, hermes and any mcp client.
Free Kagi Search MCP server — access search and summarizer via session tokens, no API key needed. Works with Claude Desktop, Cursor, Windsurf, Hermes and any MCP client.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Free Kagi Search MCP server — access search and summarizer v
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx kagi-session2api-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Kagi Search
Kagi Session2API MCP Server provides free access to Kagi's privacy-focused web search and URL summarizer through browser session tokens, bypassing the need for a paid Kagi API subscription. The server exposes two tools: kagi_search_fetch for full web search supporting advanced Kagi operators such as site filters, file type restrictions, language preferences, and date ranges, and kagi_summarizer for generating concise summaries of any URL with multiple engine options. Compatible with Claude Desktop, Cursor, Windsurf, Hermes, and any MCP-standard client.
Prerequisites
- Python 3.10 or later with uv or pip package manager installed
- An active Kagi account (free tier available at kagi.com)
- A Kagi session token from Settings → Account → Session Link on kagi.com
- An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
Install the package via pip or uvx
Install kagi-session2api-mcp from PyPI, or use uvx to run it without a permanent install.
pip install kagi-session2api-mcp
# or without installing:
uvx kagi-session2api-mcpRetrieve your Kagi session token
Log into kagi.com, go to Settings → Account → Session Link, and copy the token value from the URL. This token is used instead of a paid API key.
Configure environment variables
Set your session token. You can provide a single token or multiple comma-separated tokens for higher throughput. Optionally specify a config file path.
export KAGI_SESSION_TOKEN="your_session_token_here"
# For multiple tokens:
export KAGI_SESSION_TOKENS="token1,token2"Add the server to your MCP client configuration
Open claude_desktop_config.json and add the kagi-session2api-mcp server entry with the session token in the env block.
{
"mcpServers": {
"kagi-search": {
"command": "uvx",
"args": ["kagi-session2api-mcp"],
"env": {
"KAGI_SESSION_TOKEN": "your_session_token_here"
}
}
}
}Restart your MCP client and verify
Restart Claude Desktop or your chosen client. Test with a simple search query to confirm the server is connected and the session token is valid.
Kagi Search Examples
Client configuration
claude_desktop_config.json entry for the Kagi Session2API MCP server.
{
"mcpServers": {
"kagi-search": {
"command": "uvx",
"args": ["kagi-session2api-mcp"],
"env": {
"KAGI_SESSION_TOKEN": "your_kagi_session_token_here"
}
}
}
}Prompts to try
Example prompts that exercise Kagi web search and URL summarization tools.
- "Search Kagi for 'Rust memory safety best practices' and show the top 5 results."
- "Summarize the article at https://blog.rust-lang.org/2024/02/21/2024-edition-cfg.html using Kagi."
- "Find recent papers on diffusion models published in 2025 using Kagi search."
- "Search for 'site:github.com MCP server python' and list relevant repositories."
- "Use Kagi to search for TypeScript alternatives to lodash and summarize the top recommendation."Troubleshooting Kagi Search
Requests fail with 401 or session token expired errors
Session tokens expire when your Kagi session ends. Return to kagi.com → Settings → Account → Session Link and copy a fresh token, then update KAGI_SESSION_TOKEN in your MCP config and restart the client.
Rate limit errors appear when making rapid searches
The server limits each token to 5 requests per second via a token bucket algorithm. Add multiple valid session tokens as a comma-separated list in KAGI_SESSION_TOKENS to spread load across tokens.
The kagi_summarizer tool returns an error for some URLs
Some URLs are blocked by paywalls or robots.txt restrictions that prevent the Kagi summarizer from accessing the content. Try a different summarizer engine by specifying the engine parameter, or use kagi_search_fetch to find a cached or alternative version of the content.
Frequently Asked Questions about Kagi Search
What is Kagi Search?
Kagi Search is a Model Context Protocol (MCP) server that free kagi search mcp server — access search and summarizer via session tokens, no api key needed. works with claude desktop, cursor, windsurf, hermes and any mcp client. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Kagi Search?
Follow the installation instructions on the Kagi Search GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Kagi Search?
Kagi Search works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Kagi Search free to use?
Yes, Kagi Search is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Kagi Search Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Kagi Search? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Kagi Search in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Kagi Search?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.