Skip to main content
Glama
shrish346

docs-rag-mcp

by shrish346

docs-rag-mcp

MCP server that searches a local markdown corpus with TF-IDF retrieval and serves full documents as resources.

Architecture: docs/*.md → chunk + TF-IDF index (rag.py) → FastMCP exposes search_docs tool and doc://{path} resource (server.py).

MCP surface

Kind

Name

Description

Tool

search_docs

query + k — returns ranked chunks with path, score, excerpt

Resource

doc://{path}

Full markdown for a relative path (e.g. doc://rag-patterns.md)

Related MCP server: Markdown RAG MCP

Run

uv sync
uv run fastmcp run server.py                    # stdio (Claude Desktop, Cursor)
uv run fastmcp run server.py -t http -p 8000    # HTTP for MCP Inspector

Test

uv run fastmcp list server.py
uv run fastmcp call server.py search_docs --query "TF-IDF" --k 3

Add your own notes under docs/ and restart the server (or re-run) to re-index.

Claude Desktop

See docs/claude-desktop-config.md for claude_desktop_config.json snippet. Use an absolute --directory path.

Searching Completed

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Provides semantic search over markdown documentation using RAG, allowing natural language queries and integration with MCP clients.
    Last updated
    1
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    Provides structured, addressable access to a local markdown vault with heading-anchored fragments, BM25 search, and stable IDs for verifiable retrieval.
    Last updated
    41
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.

  • Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.

  • Agentic search over your Dewey document collections from any MCP-compatible client.

View all MCP Connectors

Latest Blog Posts

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/shrish346/docs-rag-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server