Skip to main content
Glama
ac3xx

Kagi MCP server

by ac3xx

kagi-server MCP サーバー

鍛冶屋のバッジ Kagi API統合用のMCPサーバー

これは、Kagi Search APIを統合したTypeScriptベースのMCPサーバーです。以下の機能を提供することで、MCPのコアコンセプトを実証します。

  • Kagi の API を使用して Web 検索やその他の操作を実行するためのツール (現在プライベート ベータ版)

特徴

実装されたツール

  • kagi_search - Kagi を使用してウェブ検索を実行する

    • クエリ文字列とオプションの制限をパラメータとして受け取ります

    • KagiのAPIから検索結果を返します

計画中のツール(まだ実装されていない)

  • kagi_summarize - ウェブページやテキストの要約を生成する

  • kagi_fastgpt - Kagi の FastGPT を使用して迅速な応答を得る

  • kagi_enrich - 特定のトピックに関するエンリッチされたニュース結果を取得します

Related MCP server: Kagi MCP Server

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

環境設定

Kagi API キーを使用してルート ディレクトリに.envファイルを作成します。

KAGI_API_KEY=your_api_key_here

API キーを安全に保つために、 .gitignoreファイルに.env必ず追加してください。

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Kagi Server を自動的にインストールするには:

npx @smithery/cli install kagi-server --client claude

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "kagi-server": {
      "command": "/path/to/kagi-server/build/index.js",
      "env": {
        "KAGI_API_KEY": "your_api_key_here"
      }
    }
  }
}

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

使用法

サーバーが起動し、Claude Desktop に接続したら、Web 検索を実行できます。例:

  1. クロードに質問します。「量子コンピューティングの最新の進歩に関する情報を検索できますか?」

  2. Claude は、 kagi_searchツールを使用して、Kagi の API から結果を取得します。

  3. その後、Claude が検索結果を要約または分析します。

注意: 計画されているツール (summarize、fastgpt、enrich) はまだ実装されておらず、使用できません。

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。貢献できる分野には以下が含まれます。

  • 計画されたツール(要約、fastgpt、エンリッチ)の実装

  • エラー処理と入力検証の改善

  • ドキュメントと使用例の強化

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています。

ロードマップ

  • ウェブページとテキストの要約のためのkagi_summarizeツールを実装する

  • 迅速な対応のためにkagi_fastgptツールを実装する

  • エンリッチされたニュース結果を取得するためのkagi_enrichツールを実装する

  • エラー処理を改善し、より堅牢な入力検証を追加します

  • より包括的な使用例とドキュメントを追加する

  • Claude Desktopとnpxで簡単にインストールして使用できるように、パッケージをnpmに公開します。

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    Allows the use of Kagi's API for web searching and content enrichment through methods like fastgpt, enrich/web, and enrich/news.
    3
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables integration with Kagi search engine services including web search, content summarization from URLs, and AI assistant conversations. Uses session tokens to access Kagi's search API, summarizer, and AI models directly within MCP-compatible applications.
    10
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides web search capabilities to AI assistants using the Kagi search API, enabling parallel queries and formatted results.
    14
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Web search, AI agent, and content extraction via You.com APIs

  • Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.

  • Search your knowledge bases from any AI assistant using hybrid RAG.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ac3xx/mcp-servers-kagi'

If you have feedback or need assistance with the MCP directory API, please join our Discord server