Skip to main content
Glama
JPeetz

Hermes Docs MCP Server

by JPeetz

Hermes Docs MCP Server

Search, navigate, and read the complete Hermes Agent documentation — from within any MCP client, including Hermes itself.

License: MIT

No more switching tabs. No more stale knowledge. Add one line to your ~/.hermes/config.yaml and your agent can search its own docs in two tool calls.

Quick Start

# Install
pip install -e .

# Build the doc index
python -m server.hermes_docs_server rebuild

# Add to Hermes config (~/.hermes/config.yaml)
mcp_servers:
  hermes-docs:
    command: "python"
    args: ["-m", "server.hermes_docs_server"]
    tools: true
    prompts: false
    resources: false

Restart Hermes and ask: "Search the docs for how MCP auth works."

Related MCP server: mdbook-mcp-server

Why?

Hermes Agent's documentation lives at hermes-agent.nousresearch.com/docs — a well-structured Docusaurus site. But the agent can't natively search it. You either:

  1. Open a browser tab and search manually

  2. Ask the agent (which uses its training data — may be stale or imprecise)

Hermes Docs MCP Server fixes this. It indexes the docs into a local SQLite FTS5 database and exposes structured tools. The agent fetches current documentation, with snippets and full page content, every time.

Tools

Tool

Description

search_docs(query, limit=10)

FTS5 full-text search across all documentation

read_page(slug)

Read a full doc page by URL slug

list_sections()

Browse documentation structure

list_pages(section)

List pages within a section

doc_stats()

Index statistics

Requirements

  • Python 3.10+

  • MCP SDK (pip install mcp)

  • httpx (for index building — pip install httpx)

Architecture

hermes-docs-mcp-server/
├── server/
│   └── hermes_docs_server.py    # MCP server (FastMCP-compatible) + SQLite FTS5 index
├── scripts/
│   └── fetch_hermes_docs.py     # Doc indexer: scrapes live site OR reads local repo
├── SKILL.md                      # Hermes optional-skill definition
├── README.md
└── pyproject.toml

Index Management

  • Live index: python -m server.hermes_docs_server rebuild — scrapes the Hermes docs site

  • From repo: python -m scripts.fetch_hermes_docs --repo /path/to/hermes-agent — builds from a local checkout

  • Custom path: set HERMES_DOCS_INDEX_PATH env var

The index uses sqlite3 FTS5 (stdlib) — zero external search infrastructure.

License

MIT — same as Hermes Agent. The indexed documentation is from the Hermes Agent repo (MIT).

Author

Joerg Peetz — part of the Hermes Agent growth and contribution initiative.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Indexes documentation sites by base URL and serves keyword search, optional semantic search, and Markdown page retrieval as MCP tools, all from a single SQLite file.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to search, read, and traverse documentation bundles in Open Knowledge Format via MCP tools.
    298 npm
    72
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Enables MCP-compatible clients to search and read local markdown documentation, allowing agents to retrieve relevant doc snippets or full files by path.
    2
    -