Skip to main content
Glama

Typesense MCP Server

MIT License
11
13
  • Apple

Typesense MCP サーバー


npmバージョン ライセンス: MIT Node.js バージョン

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

デモ

Typesense MCP サーバーデモ | Claude Desktop

特徴

リソース

  • 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

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.

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

            • -
              security
              F
              license
              -
              quality
              Model Context Protocol (MCP) server implementation for semantic search and memory management using TxtAI. This server provides a robust API for storing, retrieving, and managing text-based memories with semantic search capabilities. You can use Claude and Cline AI Also
              Last updated -
              11
              • Apple
            • A
              security
              A
              license
              A
              quality
              A server that enables vector and keyword search capabilities in Typesense databases through the Model Context Protocol, providing tools for collection management, document operations, and search functionality.
              Last updated -
              14
              5
              MIT License
              • Apple
            • A
              security
              F
              license
              A
              quality
              An open-source server implementing the Model Context Protocol (MCP) that enables capturing insights from AI sessions and transforming them into persistent, searchable knowledge accessible across tools.
              Last updated -
              7
              8
              • Apple
            • A
              security
              A
              license
              A
              quality
              An MCP server that allows users to efficiently search and reference user-configured documents through document listing, grep searching, semantic searching with OpenAI Embeddings, and full document retrieval.
              Last updated -
              4
              3
              MIT License
              • Apple
              • Linux

            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/suhail-ak-s/mcp-typesense-server'

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