MCP Server
Typesense MCP Server
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.
5
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "typesense",
3 "command": "uv",
4 "args": [
5 "--directory",
6 "~/typesense-mcp-server",
7 "run",
8 "mcp",
9 "run",
10 "main.py"
11 ],
12 "env": {
13 "TYPESENSE_HOST": "",
14 "TYPESENSE_PORT": "",
15 "TYPESENSE_PROTOCOL": "",
16 "TYPESENSE_API_KEY": ""
17 }
18}
JSON18 lines
README Documentation
Typesense MCP Server
A Model Context Protocol (MCP) Server that interfaces with Typesense
Installation
Installing via Smithery
To install Typesense Server Integration for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @avarant/typesense-mcp-server --client claude
Manual Installation
Install uv
On Mac you can install it using homebrew
brew install uv
Clone the package
git clone git@github.com:avarant/typesense-mcp-server.git ~/typesense-mcp-server
Update your .cursor/mcp.json
to use in Cursor
{
"mcpServers": {
"typesense": {
"command": "uv",
"args": ["--directory", "~/typesense-mcp-server", "run", "mcp", "run", "main.py"],
"env": {
"TYPESENSE_HOST": "",
"TYPESENSE_PORT": "",
"TYPESENSE_PROTOCOL": "",
"TYPESENSE_API_KEY": ""
}
}
}
}
Available Tools
The Typesense MCP Server provides the following tools:
Server Management
check_typesense_health
- Checks the health status of the configured Typesense serverlist_collections
- Retrieves a list of all collections in the Typesense server
Collection Management
describe_collection
- Retrieves the schema and metadata for a specific collectionexport_collection
- Exports all documents from a specific collectioncreate_collection
- Creates a new collection with the provided schemadelete_collection
- Deletes a specific collectiontruncate_collection
- Truncates a collection by deleting all documents but keeping the schema
Document Operations
create_document
- Creates a single new document in a specific collectionupsert_document
- Upserts (creates or updates) a single document in a specific collectionindex_multiple_documents
- Indexes (creates, upserts, or updates) multiple documents in a batchdelete_document
- Deletes a single document by its ID from a specific collectionimport_documents_from_csv
- Imports documents from CSV data into a collection
Search Capabilities
search
- Performs a keyword search on a specific collectionvector_search
- Performs a vector similarity search on a specific collection
Quick Install
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source