TypesenseKit MCP Server
98 typed Typesense operations for AI agents through an MCP server that is read-only by default.
TypesenseKit scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Search. GitHub shows 3 stars. Package registries report about 97 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 68 comes from
22 + 20 + 5 + 10 + 4 + 7 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 5 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "akshitkrnagpal-mcp": { "command": "npx", "args": [ "-y", "@typesensekit/mcp@1.6.0" ], "env": { "TYPESENSE_URL": "", "TYPESENSE_API_KEY": "YOUR_TYPESENSE_API_KEY", "TYPESENSEKIT_READ_ONLY": "true", "TYPESENSE_CONNECTION_TIMEOUT_SECONDS": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
TYPESENSE_URL | Required | URL of the Typesense server, including protocol and port when required. |
TYPESENSE_API_KEYSecret | Required | Typesense API key used to authenticate server operations. |
TYPESENSEKIT_READ_ONLY | Optional | Expose only read operations unless explicitly disabled. |
TYPESENSE_CONNECTION_TIMEOUT_SECONDS | Optional | Optional Typesense connection timeout in seconds. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Operate Typesense from your terminal or AI agent
TypesenseKit is an independent, open-source CLI and MCP server for Typesense. Inspect collections, run searches, and check cluster health from your terminal or a compatible AI assistant.
Both interfaces share 98 operations with validated inputs. MCP access is read-only by default; enabling full access exposes write, delete, key-management, and raw API tools. Use a scoped Typesense API key to restrict what the server can access.
Website · Typesense CLI · Typesense MCP · Guides
Requires Node.js 22.11 or newer and access to a Typesense cluster. The search example assumes an existing products collection with a title field.
pnpm add -g @typesensekit/cli
# Securely prompts for the API key
tsk profile add local --url http://localhost:8108
tsk profile use local
# Discover the input, then run the operation
tsk documents.search --examples
tsk documents.search --input '{"collection":"products","params":{"q":"oak chair","query_by":"title"}}' --json
Why TypesenseKit
Typesense work often jumps between dashboards, one-off scripts, local curl commands, and agent experiments. TypesenseKit keeps those workflows on one predictable surface:
- Use the same operation names from the CLI and MCP server.
- Validate structured inputs before requests reach Typesense.
- Get readable terminal output or stable, redacted JSON for scripts.
- Keep secrets out of shell history with secure prompts, stdin, or macOS Keychain profiles.
- Confirm destructive CLI operations before they run.
- Give AI clients read-only tools by default, then opt in to writes deliberately.
- Reach newer or uncommon endpoints through the raw
api.callescape hatch.
Use the official Typesense client in application code. Use TypesenseKit when humans, scripts, and agents need to perform the same operational work.
CLI
Install the public CLI package:
pnpm add -g @typesensekit/cli
Create a profile interactively, pipe a key over stdin for automation, or use macOS Keychain:
# Interactive secure prompt
tsk profile add local --url http://localhost:8108
# Scripted setup without putting the key in argv or shell history
printf '%s' "$TYPESENSE_API_KEY" | tsk profile add ci \
--url https://search.example.com --api-key-stdin
# Keychain-backed profile on macOS
tsk profile add production --url https://search.example.com --keychain
Every operation supports generated schemas and examples. Common results render as tables; pass --json for stable automation output.
tsk operations
tsk collections.list --input '{}'
tsk documents.search --schema
tsk documents.search --examples
tsk collections.list --input '{}' --json
Enable shell completion:
source <(tsk completion zsh)
source <(tsk completion bash)
tsk completion fish | source
See the Typesense CLI overview or read the complete CLI guide for profiles, environment-only use, JSON input, completion, and destructive-operation behavior.
MCP Server
Run the stdio server directly. It exposes search, reads, collection metadata, configuration reads, and system status operations by default.
TYPESENSE_URL=http://localhost:8108 \
TYPESENSE_API_KEY=xyz \
pnpm dlx @typesensekit/mcp
Write, delete, key-management, and raw API tools stay hidden unless full access is explicitly enabled:
TYPESENSEKIT_READ_ONLY=false \
TYPESENSE_URL=http://localhost:8108 \
TYPESENSE_API_KEY=xyz \
pnpm dlx @typesensekit/mcp
Generate client configuration from the CLI:
tsk skills mcp
tsk skills claude-desktop
tsk skills claude-code
tsk skills hermes
See the Typesense MCP overview, MCP guide, and client setup guide for Claude Desktop, Claude Code, Codex, Cursor, generic MCP clients, Streamable HTTP, and Docker.
Agent guidance
The server sends MCP instructions (discovery, search parameters, filter syntax,
facets, synonym and curation sets, schema changes), and every tool has an
agent-oriented description. Failed calls include a Hint: line for common
Typesense errors. Pass compact: true to search, documents.search, or
multi_search to return hits as {document} only, without highlight and
text-match metadata, which keeps large result pages within an agent's context.
MCP resources
| Resource | Purpose |
|---|---|
typesensekit://operations | Operations exposed by the current MCP mode |
typesensekit://read-only-tools | Tools included in the default read-only mode |
typesense://collections/{collection}/schema | Collection schema lookup |
typesense://collections/{collection}/documents/{id} | Document lookup |
What You Can Operate
TypesenseKit targets the Typesense v30.2 API for current first-class operations:
- Collections, schema changes, documents, imports, exports, search, multi-search, facets, and suggestions
- Aliases, presets, global synonym and curation sets, stopwords, stemming dictionaries, and legacy collection configuration
- API keys, analytics rules and events, natural-language search models, conversations, and conversation history
- Health, metrics, stats, debug information, snapshots, slow-request logging, database maintenance, and other system operations
The generated API coverage inventory is the source of truth for operation names and compatibility notes. Use api.call for endpoints that are new, uncommon, or not yet wrapped.
Security
Typesense administration touches data and credentials. Keep the MCP server read-only for assistant-facing deployments, use narrowly scoped Typesense keys, and protect any Streamable HTTP deployment with authentication and network controls.
Development
corepack enable
pnpm install
pnpm check
Run a local Typesense server:
docker run -p 8108:8108 \
-e TYPESENSE_API_KEY=xyz \
-e TYPESENSE_DATA_DIR=/data \
typesense/typesense:30.2 --enable-cors
Run the landing page locally:
pnpm dev:web
See CONTRIBUTING.md for development and release rules.
License
Frequently asked questions
What is TypesenseKit MCP Server?
98 typed Typesense operations for AI agents through an MCP server that is read-only by default.
How do I install TypesenseKit MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. TypesenseKit MCP Server runs locally from the npm package @typesensekit/mcp with the command npx -y @typesensekit/mcp@1.6.0.
Is TypesenseKit MCP Server free and open source?
Yes. TypesenseKit MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does TypesenseKit MCP Server support remote (HTTP) connections?
No remote endpoint is listed for TypesenseKit MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is TypesenseKit MCP Server's trust score calculated?
TypesenseKit MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.