Typesense MCP Server

by MCP-Mirror

193 downloads Not rated yet MIT license

About

A Model Context Protocol (MCP) server that provides AI models with access to Typesense search capabilities. It enables LLMs to discover, search, and analyze data stored in Typesense collections.

Details

License
MIT license

Explore

- List and access Typesense collections via typesense:// URIs
- Search documents with powerful filtering and relevance scores
- Retrieve specific documents by ID from collections
- Get collection statistics and schema information
- Analyze collection structure and contents via prompts
- Get search suggestions based on collection schema

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Typesense MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

npm install -g typesense-mcp-server

npm install typesense-mcp-server


To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json:

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

- typesense_query
- Search for documents in Typesense collections with powerful filtering
- Input: Query text, collection name, search fields, filters, sort options, limit
- Returns matching documents with relevance scores

- typesense_get_document
- Retrieve specific documents by ID from collections
- Input: Collection name, document ID
- Returns complete document data

- typesense_collection_stats
- Get statistics about a Typesense collection
- Input: Collection name
- Returns collection metadata, document count, and schema information

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "typesense mcp server": {
            "suhail-ak-s_mcp-typesense-server": {
                "command": "npx",
                "args": [
                    "@michaellatman/mcp-get@latest",
                    "install",
                    "typesense-mcp-server"
                ]
            }
        }
    }
}

McpServers

{
    "suhail-ak-s_mcp-typesense-server": {
        "command": "npx",
        "args": [
            "@michaellatman/mcp-get@latest",
            "install",
            "typesense-mcp-server"
        ]
    }
}
--- npm version License: MIT Node.js Version

A Model Context Protocol (MCP) server implementation that provides AI models with access to Typesense search capabilities. This server enables LLMs to discover, search, and analyze data stored in Typesense collections.

Demo

Typesense MCP Server Demo | Claude Desktop

Features

Resources

- List and access collections via typesense:// URIs - Each collection has a name, description, and document count - JSON mime type for schema access

Tools

- typesense_query - Search for documents in Typesense collections with powerful filtering - Input: Query text, collection name, search fields, filters, sort options, limit - Returns matching documents with relevance scores

- typesense_get_document
- Retrieve specific documents by ID from collections
- Input: Collection name, document ID
- Returns complete document data

- typesense_collection_stats
- Get statistics about a Typesense collection
- Input: Collection name
- Returns collection metadata, document count, and schema information

Prompts

- analyze_collection - Analyze collection structure and contents - Input: Collection name - Output: Insights about schema, data types, and statistics

- search_suggestions
- Get suggestions for effective search queries for a collection
- Input: Collection name
- Output: Recommended search strategies based on collection schema

Installation

Via npm

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.