Integrations
Integrates Kagi Search API capabilities, allowing web searches with customizable result limits to retrieve information from Kagi's search engine.
kagi-server MCP サーバー
これは、Kagi Search APIを統合したTypeScriptベースのMCPサーバーです。以下の機能を提供することで、MCPのコアコンセプトを実証します。
- Kagi の API を使用して Web 検索やその他の操作を実行するためのツール (現在プライベート ベータ版)
特徴
実装されたツール
kagi_search
- Kagi を使用してウェブ検索を実行する- クエリ文字列とオプションの制限をパラメータとして受け取ります
- KagiのAPIから検索結果を返します
計画中のツール(まだ実装されていない)
kagi_summarize
- ウェブページやテキストの要約を生成するkagi_fastgpt
- Kagi の FastGPT を使用して迅速な応答を得るkagi_enrich
- 特定のトピックに関するエンリッチされたニュース結果を取得します
発達
依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
環境設定
Kagi API キーを使用してルート ディレクトリに.env
ファイルを作成します。
API キーを安全に保つために、 .gitignore
ファイルに.env
必ず追加してください。
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Kagi Server を自動的にインストールするには:
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
使用法
サーバーが起動し、Claude Desktop に接続したら、Web 検索を実行できます。例:
- クロードに質問します。「量子コンピューティングの最新の進歩に関する情報を検索できますか?」
- Claude は、
kagi_search
ツールを使用して、Kagi の API から結果を取得します。 - その後、Claude が検索結果を要約または分析します。
注意: 計画されているツール (summarize、fastgpt、enrich) はまだ実装されておらず、使用できません。
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。貢献できる分野には以下が含まれます。
- 計画されたツール(要約、fastgpt、エンリッチ)の実装
- エラー処理と入力検証の改善
- ドキュメントと使用例の強化
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
ロードマップ
- ウェブページとテキストの要約のための
kagi_summarize
ツールを実装する - 迅速な対応のために
kagi_fastgpt
ツールを実装する - エンリッチされたニュース結果を取得するための
kagi_enrich
ツールを実装する - エラー処理を改善し、より堅牢な入力検証を追加します
- より包括的な使用例とドキュメントを追加する
- Claude Desktopとnpxで簡単にインストールして使用できるように、パッケージをnpmに公開します。
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Kagi検索API統合
Related MCP Servers
- AsecurityAlicenseAqualityAllows the use of Kagi's API for web searching and content enrichment through methods like fastgpt, enrich/web, and enrich/news.Last updated -32PythonMIT License
- AsecurityAlicenseAqualityEnables efficient web search integration with Jina.ai's Search API, offering clean, LLM-optimized content retrieval with support for various content types and configurable caching.Last updated -1223JavaScriptMIT License
- AsecurityAlicenseAqualityProvides web search capabilities using Google Custom Search API, enabling users to perform searches through a Model Context Protocol server.Last updated -2946JavaScriptMIT License
- AsecurityFlicenseAqualityEnables integration of Google search functionality into MCP-enabled applications using the Serper API, providing rich search results, configurable parameters, and efficient response handling.Last updated -112TypeScript