Kagi MCP Server

Kagi MCP server using kagi-ken package

Local serverstdioPython

What is the Kagi MCP Server?

Kagi MCP server using kagi-ken package

What the server does

Node.js MCP server providing Kagi search, summarization and AI assistant tools using your existing Kagi session token.

  • Search — Kagi web search with multiple query support
  • Summarizer — URL/content summarization with customizable formats
  • Assistant — AI-powered conversations using Kagi's AI models

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
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.
kagi_assistantInteract with Kagi's AI assistant models for conversations and queries.

How to install the Kagi MCP Server

{
  "mcpServers": {
    "kagi-mcp": {
      "command": "npx",
      "args": ["-y", "@duange/kagi-mcp"],
      "env": {
        "KAGI_SESSION_TOKEN": "YOUR_SESSION_TOKEN_HERE",
        "KAGI_SEARCH_COOKIE": "YOUR_KAGI_SEARCH_COOKIE_HERE",
        "KAGI_MODEL_LIST": "o3-pro,claude-4-sonnet,gemini-2-5-pro",
        "KAGI_DEFAULT_MODEL": "claude-4-sonnet",
        "KAGI_SUMMARIZER_ENGINE": "default"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
KAGI_SESSION_TOKENCredential the server authenticates with.Yes
KAGI_SEARCH_COOKIEConfiguration value read at startup.Optional
KAGI_MODEL_LISTConfiguration value read at startup.Optional
KAGI_DEFAULT_MODELConfiguration value read at startup.Optional
KAGI_SUMMARIZER_ENGINEConfiguration value read at startup.Optional

Example prompts to try

  • “Use Kagi to kagi search fetch.”
  • “Use Kagi to kagi summarizer.”
  • “Use Kagi to kagi assistant.”

Frequently asked questions

Kagi MCP server using kagi-ken package Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.