Typesense MCP Server
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.
Integrations
The MCP server is built on Node.js as indicated by the Node.js version badge and installation requirements.
Typesense MCP Server
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
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
Via mcp-get
Development
Install dependencies:
Build the server:
For development with auto-rebuild:
Installation for Development
Using Claude Desktop
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
The Inspector will provide a URL to access debugging tools in your browser.
Components
Resources
The server provides information about Typesense collections:
- Collection Schemas (
typesense://collections/<collection>
)- JSON schema information for each collection
- Includes field names and data types
- Sample documents for understanding data structure
Resource Templates
The server provides templates for:
- typesense_search - Template for constructing Typesense search queries
- typesense_collection - Template for viewing Typesense collection details
Usage with Claude Desktop
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json
:
Logging
The server logs information to a file located at:
This log contains detailed information about server operations, requests, and any errors that occur.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
This server cannot be installed
An MCP server implementation that enables AI models to discover, search, and analyze data stored in Typesense collections through tools for querying documents, retrieving specific items, and accessing collection statistics.
- Demo
- Features
- Installation
- Development
- Installation for Development
- Components
- Usage with Claude Desktop
- Logging
- License