KK

ksroido/kagi-session2api-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

44 stars 2 forks 品質 68 トレンド 4

ksroido/kagi-session2api-mcp は [https://github.com/ksroido/kagi-session2api-mcp. からインポートされた MCP サーバーの候補です

概要

ksroido/kagi-session2api-mcp は [https://github.com/ksroido/kagi-session2api-mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

無料Kagi検索MCPサーバー — セッショントークン、APIキーは必要ありません

English** | 中文簡体

お問い合わせ

セッショントークンを介してKagi検索と要約器にアクセス — 完全に無料。 Claude Desktop、Cursor、Windsurf、Cline、Hermes、MCP互換のAIコーディングアシスタント/エージェントで動作します。

◀ 星の歴史

**************** エンドユーザ警告**: このプロジェクトでは、Kagiセッショントークンを使用して、公式の有料APIなしで検索とサマライザー機能にアクセスします。 本規約に違反する場合があります。 潜在的な結果には、アカウントの停止または永続的な禁止が含まれます。 ご自身の責任でご使用ください。 著者は、加木が取ったアカウントのアクションについて一切の責任を負わないものとします。 ツイート **********セキュリティ警告:あなたのKagiセッショントークンは、完全なアカウントアクセスを提供します。 パスワードのように扱います。 共有したり、バージョン管理にコミットしたりしないでください。

✔ 機能

-Session-based access: 公式API($25/1000クエリ)の代わりにKagiセッショントークンを使用する — 完全に無料 -マルチトークンプール: ラウンドロビン回転でより高いスループットのための複数のトークンを設定 -Per-tokenレート制限:トークンバケットアルゴリズムでトークンあたり5 req/s

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。


Access Kagi search and summarizer via session tokens — completely free. Works with Claude Desktop, Cursor, Windsurf, Cline, Hermes and any MCP-compatible AI coding assistant/agent.

⭐ Star History

⚠️ EndUser Warning: This project uses Kagi session tokens to access search and summarizer features without the official paid API. This may violate Kagi’s Terms of Service. Potential consequences include account suspension or permanent ban. Use at your own risk. The authors assume no liability for any account actions taken by Kagi.

⚠️ Security Warning: Your Kagi session token provides full account access. Treat it like a password. Never share it or commit it to version control.

🌟 Features

  • Session-based access: Uses Kagi session tokens instead of the official API ($25/1000 queries) — completely free
  • Multi-token pool: Configure multiple tokens for higher throughput with round-robin rotation
  • Per-token rate limiting: 5 req/s per token with token bucket algorithm
  • API-compatible output: Returns results in the same format as the official kagimcp
  • Two tools: kagi_search_fetch (web search) and kagi_summarizer (URL summarization)
  • Firefox UA spoofing: Mimics a real Firefox browser for session-based access
  • Auto-disable expired tokens: Expired tokens are automatically detected and skipped
  • Search operators: Supports Kagi operators (site:, lang:, filetype:, etc.)

Compatible Platforms

Works with any MCP-compatible client:

Quick Install (For AI Agents)

Just paste this prompt to your AI agent:

Install the Kagi Session2API MCP server from https://pypi.org/project/kagi-session2api-mcp/.
Then add it to my MCP:
`uvx kagi-session2api-mcp`
GitHub で README 全文を見る

インストール

uvx kagi-session2api-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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