Skip to main content
Glama

Jina AI MCP Server

by Sheshiyer

Jina AI MCP サーバー

Jina AIのニューラル検索機能とのシームレスな統合を実現するモデルコンテキストプロトコル(MCP)サーバー。シンプルなインターフェースを通じて、セマンティック検索、画像検索、クロスモーダル検索機能を実現します。

🚀 機能

  • セマンティック検索:自然言語クエリを使用して意味的に類似した文書を検索します

  • 画像検索: 画像のURLを使用して視覚的に類似した画像を検索します

  • クロスモーダル検索: テキストから画像、または画像からテキストへの検索を実行します

📋 前提条件

  • Node.js 16以上

  • Jina AI アカウントと API キー (こちらから取得)

  • MCP互換環境(例:Cline)

🛠️ インストール

  1. リポジトリをクローンします。

git clone <repository-url> cd jina-ai-mcp
  1. 依存関係をインストールします:

npm install
  1. Jina AI API キーを使用して.envファイルを作成します。

JINA_API_KEY=your_api_key_here
  1. サーバーを構築します。

npm run build

⚙️ 構成

MCP 設定ファイルに次の構成を追加します。

{ "mcpServers": { "jina-ai": { "command": "node", "args": [ "/path/to/jina-ai-mcp/build/index.js" ], "env": { "JINA_API_KEY": "your_api_key_here" } } } }

🔍 利用可能なツール

1. セマンティック検索

テキスト ドキュメントに対してセマンティック/ニューラル検索を実行します。

use_mcp_tool({ server_name: "jina-ai", tool_name: "semantic_search", arguments: { query: "search query text", collection: "your-collection-name", limit: 10 // optional, defaults to 10 } })

2. 画像検索

画像の URL を使用して類似の画像を検索します。

use_mcp_tool({ server_name: "jina-ai", tool_name: "image_search", arguments: { imageUrl: "https://example.com/image.jpg", collection: "your-collection-name", limit: 10 // optional, defaults to 10 } })

3. クロスモーダル検索

テキストから画像、または画像からテキストへの検索を実行します。

use_mcp_tool({ server_name: "jina-ai", tool_name: "cross_modal_search", arguments: { query: "a beautiful sunset", // or image URL for image2text mode: "text2image", // or "image2text" collection: "your-collection-name", limit: 10 // optional, defaults to 10 } })

📝 レスポンスフォーマット

すべての検索ツールは次の形式で結果を返します。

{ content: [ { type: "text", text: JSON.stringify({ results: [ { id: string, score: number, data: Record<string, any> } ] }, null, 2) } ] }

🔐 エラー処理

サーバーはさまざまなエラーケースを処理します。

  • 無効なAPIキー

  • パラメータが不足しているか無効です

  • API レート制限

  • ネットワークエラー

  • 無効なコレクション名

すべてのエラーは適切にフォーマットされ、適切なエラー コードとメッセージとともに返されます。

🤝 貢献する

貢献を歓迎します!お気軽にプルリクエストを送信してください。

📄 ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

🙏 謝辞

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

Jina AI のニューラル検索機能との統合により、セマンティック検索、画像検索、クロスモーダル検索機能を有効にします。

  1. 🚀 機能
    1. 📋 前提条件
      1. 🛠️ インストール
        1. ⚙️ 構成
          1. 🔍 利用可能なツール
            1. 1. セマンティック検索
            2. 2. 画像検索
            3. 3. クロスモーダル検索
          2. 📝 レスポンスフォーマット
            1. 🔐 エラー処理
              1. 🤝 貢献する
                1. 📄 ライセンス
                  1. 🙏 謝辞

                    Related MCP Servers

                    • A
                      security
                      A
                      license
                      A
                      quality
                      Enables 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 -
                      9
                      3
                      MIT License
                    • -
                      security
                      A
                      license
                      -
                      quality
                      Enables web content retrieval and semantic search capabilities through the Jina AI API. Provides tools to fetch content from URLs and perform intelligent web searches with natural language queries.
                      Last updated -
                      3
                      MIT License
                      • Linux
                      • Apple
                    • A
                      security
                      A
                      license
                      A
                      quality
                      Enables web content extraction, screenshot capture, web search, arXiv paper search, and image search through Jina AI's APIs. Provides tools for reading URLs as markdown, searching the web for current information, and finding academic papers or images.
                      Last updated -
                      15
                      147
                      Apache 2.0
                    • -
                      security
                      A
                      license
                      -
                      quality
                      Provides access to Jina AI's suite of web tools including URL reading, web/image/academic search, content extraction, embeddings, and reranking capabilities. Enables AI assistants to search the web, extract content from URLs, and process information with semantic understanding.
                      Last updated -
                      15
                      Apache 2.0

                    View all related MCP servers

                    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/Sheshiyer/jina-ai-mcp-multimodal-search'

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