MCP Catalogs
Home

Kagi-Session2API-MCP

by KSroido·134·Score 48

Free Kagi Search MCP server using session tokens instead of paid API, works with multiple MCP clients.

searchweb-scrapingai-llm
12
Forks
2
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides access to Kagi's search and summarization features without requiring an official API key. It uses session tokens to bypass the paid API model, making it free to use. The server implements a token pool system with round-robin rotation and per-token rate limiting of 5 requests per second. It offers two main tools: web search and URL summarization, with output formats compatible with the official kagimcp server.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Integrate free Kagi search capabilities into AI agents like Claude Desktop and Cursor
you:Build applications requiring web search without paying for Kagi's API
you:Create summarization tools for web content using Kagi's internal summarizer
you:Is this server compliant with Kagi's terms of service?
you:How do I get a Kagi session token?
you:Can I use multiple tokens for higher rate limits?

When to choose this

Choose this when you want free access to Kagi's search and summarization features through MCP without paying for API calls.

When NOT to choose this

Don't choose if you risk violating Kagi's Terms of Service is a concern or if you need official API features like account balance tracking.

Tools this server exposes

2 tools extracted from the README
  • kagi_search_fetch

    Search the web using Kagi with various operators

  • kagi_summarizer

    Summarize any URL using Kagi's summarizer

Comparable tools

kagimcpperplexica-mcpbrave-search-mcpduckduckgo-mcp

Installation

Install via pip:

pip install kagi-session2api-mcp

For Claude Desktop, add to your claude_desktop_config.json:

{
  "mcpServers": {
    "kagi-session": {
      "command": "uvx",
      "args": ["kagi-session2api-mcp"],
      "env": {
        "KAGI_SESSION_TOKEN": "YOUR_SESSION_TOKEN_HERE"
      }
    }
  }
}

Or with config file for multiple tokens:

{
  "mcpServers": {
    "kagi-session": {
      "command": "uvx",
      "args": ["kagi-session2api-mcp"],
      "env": {
        "KAGI_SESSION_CONFIG": "/path/to/config.toml"
      }
    }
  }
}

FAQ

Is this server compliant with Kagi's terms of service?
No, this project uses session tokens to access Kagi's services without the official API, which may violate Kagi's Terms of Service. Users risk account suspension or permanent ban.
How do I get a Kagi session token?
Log in to kagi.com, go to Settings → Account → Session Link, and copy the token from the session URL.
Can I use multiple tokens for higher rate limits?
Yes, you can configure multiple tokens with round-robin rotation. Each token provides 5 requests/second, so N tokens give 5×N requests/second total.

Compare Kagi-Session2API-MCP with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.