Typesense MCP Server

MIT License
21
7
  • Apple

Integrations

  • The MCP server is built on Node.js as indicated by the Node.js version badge and installation requirements.

Typesense MCP サーバー


AIモデルにTypesenseの検索機能へのアクセスを提供するモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーにより、LLMはTypesenseコレクションに保存されたデータを検出、検索、分析できるようになります。

デモ

特徴

リソース

  • typesense:// URI 経由でコレクションの一覧を表示およびアクセスする
  • 各コレクションには名前、説明、ドキュメント数があります
  • スキーマアクセス用の JSON MIME タイプ

ツール

  • タイプセンスクエリ
    • 強力なフィルタリング機能を使用してTypesenseコレクション内のドキュメントを検索します
    • 入力: クエリテキスト、コレクション名、検索フィールド、フィルター、並べ替えオプション、制限
    • 関連性スコアで一致するドキュメントを返します
  • タイプセンス_get_document
    • コレクションからIDで特定のドキュメントを取得する
    • 入力: コレクション名、ドキュメントID
    • 完全なドキュメントデータを返します
  • タイプセンスコレクション統計
    • Typesenseコレクションに関する統計情報を取得する
    • 入力: コレクション名
    • コレクションのメタデータ、ドキュメント数、スキーマ情報を返します

プロンプト

  • 分析コレクション
    • コレクションの構造と内容を分析する
    • 入力: コレクション名
    • 出力: スキーマ、データ型、統計に関する洞察
  • 検索候補
    • コレクションの効果的な検索クエリの提案を取得する
    • 入力: コレクション名
    • 出力: コレクションスキーマに基づく推奨検索戦略

インストール

npm経由

# Global installation npm install -g typesense-mcp-server # Local installation npm install typesense-mcp-server

mcp-get経由

npx @michaellatman/mcp-get@latest install typesense-mcp-server

発達

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

npm install

サーバーを構築します。

npm run build

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

npm run watch

開発のためのインストール

Claudeデスクトップの使用

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

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

Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "typesense": { "command": "node", "args": [ "~/typesense-mcp-server/dist/index.js", "--host", "your-typesense-host", "--port", "8108", "--protocol", "http", "--api-key", "your-api-key" ] }, } }

デバッグ

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

npm run inspector

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

コンポーネント

リソース

サーバーは Typesense コレクションに関する情報を提供します。

  • コレクションスキーマ( typesense://collections/<collection> )
    • 各コレクションのJSONスキーマ情報
    • フィールド名とデータ型が含まれます
    • データ構造を理解するためのサンプルドキュメント

リソーステンプレート

サーバーは次のテンプレートを提供します:

  • typesense_search - Typesense検索クエリを構築するためのテンプレート
  • typesense_collection - Typesenseコレクションの詳細を表示するためのテンプレート

Claude Desktopでの使用

このサーバーを Claude Desktop アプリで使用するには、 claude_desktop_config.jsonの「mcpServers」セクションに次の構成を追加します。

{ "mcpServers": { "typesense": { "command": "npx", "args": [ "-y", "typesense-mcp-server", "--host", "your-typesense-host", "--port", "8108", "--protocol", "http", "--api-key", "your-api-key" ] } } }

ログ記録

サーバーは次の場所にあるファイルに情報を記録します。

/tmp/typesense-mcp.log

このログには、サーバーの操作、要求、発生したエラーに関する詳細情報が含まれます。

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

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

AI モデルがドキュメントのクエリ、特定のアイテムの取得、コレクション統計へのアクセスを行うツールを通じて、Typesense コレクションに保存されているデータを検出、検索、分析できるようにする MCP サーバー実装。

  1. デモ
    1. 特徴
      1. リソース
      2. ツール
      3. プロンプト
    2. インストール
      1. npm経由
      2. mcp-get経由
    3. 発達
      1. 開発のためのインストール
        1. Claudeデスクトップの使用
        2. デバッグ
      2. コンポーネント
        1. リソース
        2. リソーステンプレート
      3. Claude Desktopでの使用
        1. ログ記録
          1. ライセンス

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              An MCP server that lets AI assistants interact with your Lunchmoney data, enabling natural language queries about transactions, budgets, and spending patterns.
              Last updated -
              4
              3
              8
              TypeScript
              MIT License
            • -
              security
              A
              license
              -
              quality
              An MCP server that allows AI assistants to interact with Foundry datasets, ontology objects, and functions through natural language queries and commands.
              Last updated -
              2
              Python
              MIT License
            • A
              security
              A
              license
              A
              quality
              An MCP server that enables AI assistants to interact with the Notion API, allowing them to search, read, comment on, and create content in Notion workspaces through natural language commands.
              Last updated -
              19
              5,617
              1,472
              TypeScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              An MCP server that crawls API documentation websites and exposes their content to AI models, enabling them to search, browse, and reference API specifications.
              Last updated -
              Python

            View all related MCP servers

            ID: 59pnl1545a