rag-mcp-server SKILL.md skillA
rag-mcp-server from gptme/gptme-contrib is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add gptme/gptme-contrib/rag-mcp-server@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- gptme/gptme-contrib
- Path
skills/rag-mcp-server/SKILL.md- Versions recorded
- 1
- Latest version
- v1.0.0, committed Jul 3, 2026
- Size
- 7,237 bytes
- Repository stars
- 15
- License
- MIT
Add foundational CS knowledge (7 classic books) and session-memory search to Claude Code or Claude Desktop via MCP. Lets Claude answer "how does X work?" by querying indexed books inline, and "what did we discuss about Y?" by searching past sessions. Use this skill when setting up or troubleshooting the rag-mcp-server.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# rag-mcp-server Skill Expose a local BM25 knowledge-base and session index to any MCP client — Claude Code, Claude Desktop, or any gptme instance — so queries like "how does virtual memory work?" resolve to book chapters inline, and "what did we discuss about caching last week?" resolve to past sessions. ## Overview `rag-mcp-server` is part of the `rag` package in your gptme agent workspace. It exposes two search surfaces as MCP tools: | Tool | What it searches | |------|-----------------| | `search_wisdom` | BM25 index over CC-licensed CS reference books | | `list_wisdom_sources` | List of book slugs currently indexed | | `search_sessions` | Journal, gptme logs, and Claude Code trajectory index | Default book set (7): SICP, OSTEP, Pro Git, Think Python, MML Book, RL Intro, Eloquent JavaScript. BM25 precision@3: 0.87 on a curated benchmark set. ## Setup ### 1. Install the package ```bash # From gptme-contrib workspace root uv sync --all-packages # Verify the entry point is available rag-mcp-server --help ``` ### 2. Build the book (wisdom) index ```bash # Download and index CC-licensed books in one command: bob-search index-books --preset cs-fundamentals …
Read the whole file at its exact version.
How to install
mdr add gptme/gptme-contrib/rag-mcp-server@sha256:8c1bb13392abc122The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hkcwxccu3eaedvhy)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 3, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7237 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
gptme/gptme-contrib · 15 stars · license MIT · pushed 2026-10-22 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_hkcwxccu3eaedvhy GET https://markdownregistry.com/api/v1/resolve?ref=gptme/gptme-contrib/rag-mcp-server GET https://markdownregistry.com/api/v1/blob/8c1bb13392abc122dde1cb32ee8358e219ef64e823a774e0874abe7ca7a59f71
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.