TypesenseKit
Typesense MCP server with 98 typed operations that starts read-only by default
TypesenseKit is an open-source MCP server for databases. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Read-only
- Access
- Needs a secret key or token
- Version
- 1.6.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add typesensekit --env TYPESENSE_URL='<TYPESENSE_URL>' --env TYPESENSE_API_KEY='<TYPESENSE_API_KEY>' -- npx -y @typesensekit/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"typesensekit": {
"command": "npx",
"args": [
"-y",
"@typesensekit/mcp"
],
"env": {
"TYPESENSE_URL": "<TYPESENSE_URL>",
"TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"typesensekit": {
"command": "npx",
"args": [
"-y",
"@typesensekit/mcp"
],
"env": {
"TYPESENSE_URL": "<TYPESENSE_URL>",
"TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"typesensekit": {
"command": "npx",
"args": [
"-y",
"@typesensekit/mcp"
],
"env": {
"TYPESENSE_URL": "<TYPESENSE_URL>",
"TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"typesensekit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@typesensekit/mcp"
],
"env": {
"TYPESENSE_URL": "<TYPESENSE_URL>",
"TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add typesensekit --env TYPESENSE_URL='<TYPESENSE_URL>' --env TYPESENSE_API_KEY='<TYPESENSE_API_KEY>' -- npx -y @typesensekit/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.typesensekit]
command = "npx"
args = ["-y", "@typesensekit/mcp"]
env = { TYPESENSE_URL = "<TYPESENSE_URL>", TYPESENSE_API_KEY = "<TYPESENSE_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"typesensekit": {
"command": "npx",
"args": [
"-y",
"@typesensekit/mcp"
],
"env": {
"TYPESENSE_URL": "<TYPESENSE_URL>",
"TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "typesensekit": { "command": "npx", "args": [ "-y", "@typesensekit/mcp" ], "env": { "TYPESENSE_URL": "<TYPESENSE_URL>", "TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>" } } } }Or run: gemini mcp add -s user -e TYPESENSE_URL='<TYPESENSE_URL>' -e TYPESENSE_API_KEY='<TYPESENSE_API_KEY>' typesensekit npx -- -y @typesensekit/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "typesensekit": { "command": "npx", "args": [ "-y", "@typesensekit/mcp" ], "env": { "TYPESENSE_URL": "<TYPESENSE_URL>", "TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "typesensekit": { "command": "npx", "args": [ "-y", "@typesensekit/mcp" ], "env": { "TYPESENSE_URL": "<TYPESENSE_URL>", "TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "typesensekit": { "command": "npx", "args": [ "-y", "@typesensekit/mcp" ], "env": { "TYPESENSE_URL": "<TYPESENSE_URL>", "TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "typesensekit": { "command": "npx", "args": [ "-y", "@typesensekit/mcp" ], "env": { "TYPESENSE_URL": "<TYPESENSE_URL>", "TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "typesensekit": { "command": "npx", "args": [ "-y", "@typesensekit/mcp" ], "env": { "TYPESENSE_URL": "<TYPESENSE_URL>", "TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "typesensekit": { "command": "npx", "args": [ "-y", "@typesensekit/mcp" ], "env": { "TYPESENSE_URL": "<TYPESENSE_URL>", "TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "typesensekit": { "command": "npx", "args": [ "-y", "@typesensekit/mcp" ], "env": { "TYPESENSE_URL": "<TYPESENSE_URL>", "TYPESENSE_API_KEY": "<TYPESENSE_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
TYPESENSE_URLURL of the Typesense server, including protocol and port when required.RequiredTYPESENSE_API_KEYTypesense API key used to authenticate server operations.RequiredTYPESENSEKIT_READ_ONLYExpose only read operations unless explicitly disabled.TYPESENSE_CONNECTION_TIMEOUT_SECONDSOptional Typesense connection timeout in seconds.
About TypesenseKit
This package puts search, schema inspection, collection work and cluster administration behind typed MCP tools. Out of the box it only exposes read operations; setting TYPESENSEKIT_READ_ONLY=false adds the write, delete and admin tools, which is the main safety decision to make before pointing it at a live cluster.
It connects with a Typesense URL and API key and runs over stdio via npm, or as a stateless Streamable HTTP server through a second binary. Much of the README is about keeping agent context small: collections.list accepts compact:true to return per-collection counts, aliases, text fields and short field strings, and search accepts compact:true with params.include_fields to drop highlights and scores. Tool listings leave out repeated schema boilerplate, while calls are still validated against the full input schemas.
Error messages about facet, sort or index flags list the collection's fields, so an agent can fix a request without another lookup.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, all 4 tools only read data.
From the server's own tool labels and tool names; not verified by us.
- collections.listName suggests: reads
- Lists collections, with a compact mode.
- collections.retrieveName suggests: reads
- Returns full field definitions for a collection.
- searchName suggests: reads
- Searches documents, with an optional compact mode.
- documents.searchName suggests: reads
- Equivalent alias of search.
What it does
- Read-only default
- Write, delete and admin tools stay hidden until you turn them on.
- 98 typed operations
- Covers search, schemas, collections and cluster administration.
- Compact collection listing
- Short field strings keep schema output small.
- Compact search
- Optional field selection and no highlights for lighter results.
- Stdio and HTTP
- Runs locally over stdio or as a stateless Streamable HTTP server.
- Helpful errors
- Failed requests list the collection's fields and text fields.
Good for
- Let an agent inspect a Typesense collection schema
- Run searches against a collection from a chat
- Review cluster state without write access
- Administer collections when writes are enabled
Pricing
Open source
TypesenseKit FAQ
Can TypesenseKit change my data?
Not by default; set TYPESENSEKIT_READ_ONLY=false to expose write, delete and admin tools.
What does TypesenseKit need?
A Typesense URL and API key, passed as TYPESENSE_URL and TYPESENSE_API_KEY.
How do I run TypesenseKit?
With pnpm dlx @typesensekit/mcp for stdio, or the typesensekit-mcp-http binary for Streamable HTTP.
How do I reduce context size?
Use collections.list with compact:true and search with compact:true plus params.include_fields.
Is TypesenseKit free?
Yes. TypesenseKit is open source, so you can use and self-host it for free.
How do I add TypesenseKit to Claude Code?
Run this command in your terminal: claude mcp add typesensekit --env TYPESENSE_URL='<TYPESENSE_URL>' --env TYPESENSE_API_KEY='<TYPESENSE_API_KEY>' -- npx -y @typesensekit/mcp
What are the best alternatives to TypesenseKit?
The closest alternatives to TypesenseKit are Lens MCP, Vectros, Mongodb MCP Server, AdoMcp and Typeship.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.