MCP Catalogs
首页gnosis-mcp screenshot

gnosis-mcp

by nicholasglazer·22·综合分 45

零配置的 MCP 服务器,用于可搜索文档,支持 SQLite/PostgreSQL 后端。

searchai-llmdeveloper-tools
7
Forks
4
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

Gnosis MCP 是一个强大的文档搜索服务器,相比传统方法可将每次查找的 token 使用量减少 5-10 倍。它支持关键词(BM25)和本地 ONNX 嵌入的语义搜索,确保数据始终留在本地机器。服务器可索引多种文档格式,包括 markdown、git 历史记录和爬取的网站,并内置评估工具来衡量检索质量。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI 搜索项目文档
:用于代码库的检索增强生成
:具有语义理解的知识库搜索
:Gnosis MCP 支持哪些文档格式?
:我可以不连接互联网使用 Gnosis MCP 吗?

什么时候选它

当您需要高效的本地文档搜索、强大的性能指标、零云依赖,并希望最小化 AI 代理查询文档时的 token 使用量时,选择 Gnosis MCP。

什么时候不要选它

如果您需要实时协作功能、文档的写入访问权限,或需要不需要本地基础设施管理的托管解决方案,不要选择它。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • search_docs

    Search through indexed documentation with keyword or hybrid search.

  • get_doc

    Retrieve the full content of a specific document by path.

  • get_related

    Find documents related to a specific document based on relationships.

  • ingest

    Ingest local documentation files into the search index.

  • ingest_git

    Ingest git commit history as searchable documentation.

  • crawl

    Crawl and ingest documentation from a website.

  • stats

    View statistics about the indexed documents.

  • prune

    Remove stale documents from the index that no longer exist on disk.

  • embed

    Generate embeddings for documents to enable semantic search.

  • savings

    Calculate token savings from using search instead of full document retrieval.

  • eval

    Evaluate the search performance with a test dataset.

  • serve

    Start the MCP server to expose tools to AI clients.

可对比工具

docs-mcp-servercontext7mcp-local-ragsemantic-search

安装

pip install gnosis-mcp           # 或:uv tool install gnosis-mcp
gnosis-mcp ingest ./docs/        # 将文档加载到 SQLite(自动创建)
gnosis-mcp serve                 # 启动 MCP 服务器

对于 Claude Desktop,添加到 Claude Desktop 配置中:

{
  "mcpServers": {
    "docs": {
      "command": "gnosis-mcp",
      "args": ["serve"]
    }
  }
}

FAQ

Gnosis MCP 支持哪些文档格式?
支持 .md、.txt、.ipynb、.toml、.csv、.json,以及可选的 .rst 和 .pdf 文件。
我可以不连接互联网使用 Gnosis MCP 吗?
是的,Gnosis MCP 默认完全离线工作,使用 SQLite,并使用本地 ONNX 嵌入进行语义搜索,无需 API 密钥。

gnosis-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。