MCP.so
ログイン
K

Kagi Ken MCP Server

@czottmann

基本情報

カテゴリ

検索

トランスポート

stdio

作者

czottmann

投稿者

Carlo Zottmann

Kagi Ken MCP Server について

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.

Kagi Ken MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "kagi-ken-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "github:czottmann/kagi-ken-mcp"
      ],
      "env": {
        "KAGI_SESSION_TOKEN": "YOUR_SESSION_TOKEN_HERE"
      }
    }
  }
}

Kagi Ken MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

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.

よくある質問

1

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.

2

What runtime does kagi-ken-mcp require?

Node.js version 22 or later is required.

3

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.

4

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.

5

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.

コメント

「検索」の他のコンテンツ