sn-docs-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
sn-docs-mcp
A local MCP server that lets Claude answer ServiceNow product questions from the public ServiceNow docs, by release family, with a link for every claim. It can also search your own tested notes and keeps them clearly apart from the docs.
It reads your own clone of the public ServiceNowDocs repository. It ships no docs text, and it never fetches, checks out or writes to that clone.
What it does
Ask Claude something like "Can a WSD user reserve a desk on behalf of someone else in Brazil, and did that change since Zurich?" Claude calls the tools below and answers with a short answer, one line per release when releases are named, numbered sources with links, a "From your notes (tested, not docs)" section when your notes apply, and a "Not in the docs" line when nothing covers part of the question.
Tool | What it returns |
| Release families in your clone, with index status |
| Product keys from your products.tsv, if set |
| Ranked topics for a query, filtered by family and product, each with a snippet and link |
| The text of one topic, with its link |
| Release note and delta entries for a product between two families, optionally filtered by a query |
| Matches from your own notes folder, labelled as your notes |
Related MCP server: docs-index
Install
Needs Python 3.12 or later, uv, git, and a clone of the docs:
git clone https://github.com/ServiceNow/ServiceNowDocs ~/Projects/ServiceNowDocs
git clone https://github.com/arunsaravanen/sn-docs-mcp ~/Projects/sn-docs-mcp
cd ~/Projects/sn-docs-mcp && uv syncBuild the indexes once (about 20 seconds per family). The server also builds a missing or stale index in the background on first use:
uv run sn-docs-mcp index brazil zurichTo pick up new docs, run git fetch in the docs clone yourself. The server sees the new commit and rebuilds that family's index on its next use.
Add it to Claude Code
claude mcp add sn-docs --scope user \
-e SN_PRODUCTS=/path/to/products.tsv \
-e SN_NOTES=/path/to/notes \
-- uv --directory ~/Projects/sn-docs-mcp run sn-docs-mcpBoth -e lines are optional.
Add it to Claude Desktop
Claude Desktop renders the answer formatted, which is the easiest way to read it. Add this to ~/Library/Application Support/Claude/claude_desktop_config.json under mcpServers, then restart Claude Desktop:
"sn-docs": {
"command": "/full/path/to/uv",
"args": ["--directory", "/Users/you/Projects/sn-docs-mcp", "run", "sn-docs-mcp"],
"env": {
"SN_PRODUCTS": "/path/to/products.tsv",
"SN_NOTES": "/path/to/notes"
}
}Use the full path to uv (which uv), because Claude Desktop does not read your shell's PATH.
Settings
Variable | Default | Meaning |
|
| Your docs clone |
|
| Where the indexes live |
| none | A products.tsv mapping product keys to docs paths (columns |
| none | A folder of markdown notes with YAML front matter |
Disk use
Each family index takes about 400 MB, because the full topic text is stored to cut snippets from. During a rebuild the old and new index exist side by side, so allow about twice that for the family being rebuilt. Delete a family's .db file in the cache folder to drop it. The small .lock files there are expected and safe to leave.
Development
uv run pytest -qTests build small fixture repositories in temp folders and never touch a real clone.
License
MIT. ServiceNow docs content belongs to ServiceNow and is not included here.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
A cited wiki of your GitHub repo: search, read pages, find symbols and ask, with line citations.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Query any docs site via MCP. Submit a URL, ask questions, get cited answers.
Answers questions about how your product works, from your GitHub or GitLab code.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables retrieval-augmented question answering over Obsidian vaults and document folders, with local embeddings, vector search, and cited source paths.7-
- FlicenseNot gradedqualityDmaintenanceEnables natural-language retrieval from a self-hosted documentation index, returning cited answers with deep links, and supports private corpora inaccessible on the public internet.-
- AlicenseBqualityBmaintenanceEnables question answering over technical documents (Markdown, TXT, PDF) using hybrid retrieval (vector + lexical) with cited sources and audit logging, fully locally with optional cloud fallback.4MIT
- AlicenseNot gradedqualityBmaintenanceGives Claude Code and other MCP clients cited answers from a local, code-aware hybrid index of a repository's documentation and source, returning path:line sections linked to the code symbols they name. It also stores session handoff notes and doc/code conflict decisions in a git-backed memory, all running offline with no API calls or data leaving the machine.2MIT