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.
typesense://
URIstypesense_query
typesense_get_document
typesense_collection_stats
analyze_collection
search_suggestions
# Global installation
npm install -g typesense-mcp-server
# Local installation
npm install typesense-mcp-server
npx @michaellatman/mcp-get@latest install typesense-mcp-server
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
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
{
"mcpServers": {
"typesense": {
"command": "node",
"args": [
"~/typesense-mcp-server/dist/index.js",
"--host", "your-typesense-host",
"--port", "8108",
"--protocol", "http",
"--api-key", "your-api-key"
]
},
}
}
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
The server provides information about Typesense collections:
typesense://collections/<collection>
)
The server provides templates for:
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your claude_desktop_config.json
:
{
"mcpServers": {
"typesense": {
"command": "npx",
"args": [
"-y",
"typesense-mcp-server",
"--host", "your-typesense-host",
"--port", "8108",
"--protocol", "http",
"--api-key", "your-api-key"
]
}
}
}
The server logs information to a file located at:
/tmp/typesense-mcp.log
This log contains detailed information about server operations, requests, and any errors that occur.
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.
{
"mcpServers": {
"typesense": {
"env": {},
"args": [
"~/typesense-mcp-server/dist/index.js",
"--host",
"your-typesense-host",
"--port",
"8108",
"--protocol",
"http",
"--api-key",
"your-api-key"
],
"command": "node"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.