Typesense MCP Server
Typesense MCP 服务器
模型上下文协议 (MCP)服务器实现,为 AI 模型提供访问Typesense搜索功能的权限。该服务器使 LLM 能够发现、搜索和分析存储在 Typesense 集合中的数据。
演示

Related MCP server: All-Search MCP Server
特征
资源
通过
typesense://URI 列出并访问集合每个集合都有名称、描述和文档数量
用于架构访问的 JSON MIME 类型
工具
typesense_query
使用强大的过滤功能在 Typesense 集合中搜索文档
输入:查询文本、集合名称、搜索字段、过滤器、排序选项、限制
返回具有相关性分数的匹配文档
typesense_get_document
根据 ID 从集合中检索特定文档
输入:集合名称、文档ID
返回完整的文档数据
typesense_collection_stats
获取有关 Typesense 集合的统计信息
输入:集合名称
返回集合元数据、文档计数和架构信息
提示
分析_集合
分析馆藏结构和内容
输入:集合名称
输出:关于模式、数据类型和统计数据的见解
搜索建议
获取针对集合的有效搜索查询建议
输入:集合名称
输出:基于收集模式的推荐搜索策略
安装
通过 npm
# Global installation
npm install -g typesense-mcp-server
# Local installation
npm install typesense-mcp-server通过 mcp-get
npx @michaellatman/mcp-get@latest install typesense-mcp-server发展
安装依赖项:
npm install构建服务器:
npm run build对于使用自动重建的开发:
npm run watch开发安装
使用 Claude Desktop
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 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"
]
},
}
}调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
npm run inspector检查器将提供一个 URL 来访问浏览器中的调试工具。
成分
资源
服务器提供有关 Typesense 集合的信息:
集合模式(
typesense://collections/<collection>)每个集合的 JSON 架构信息
包括字段名称和数据类型
理解数据结构的示例文档
资源模板
服务器提供以下模板:
typesense_search - 构建 Typesense 搜索查询的模板
typesense_collection - 用于查看 Typesense 集合详细信息的模板
与 Claude Desktop 一起使用
要将此服务器与 Claude Desktop 应用程序一起使用,请将以下配置添加到claude_desktop_config.json的“mcpServers”部分:
{
"mcpServers": {
"typesense": {
"command": "npx",
"args": [
"-y",
"typesense-mcp-server",
"--host", "your-typesense-host",
"--port", "8108",
"--protocol", "http",
"--api-key", "your-api-key"
]
}
}
}日志记录
服务器将信息记录到位于以下位置的文件中:
/tmp/typesense-mcp.log该日志包含有关服务器操作、请求和发生的任何错误的详细信息。
执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Capability registry for the agentic economy. Semantic search over verified MCP server listings.
An MCP server that gives your AI access to the source code and docs of all public github repos
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context14265MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables web search and document retrieval capabilities through Tavily API and LangConnect vector database, supporting AI agents in gathering information for comprehensive report generation.22-
- FlicenseNot gradedqualityCmaintenanceAn MCP server exposing document search, retrieval, and summarization tools, paired with a LangChain agent that performs multi-step tasks like finding and summarizing relevant docs.-
- AlicenseNot gradedqualityCmaintenanceMCP server for MeiliSearch that enables searching indexes, managing documents and indexes, checking health/stats, and managing API keys. Perfect for AI agents to interact with MeiliSearch through natural language.62MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/suhail-ak-2/mcp-typesense-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server