mcp-doc-server
Grafana docs MCP server with integration for mcp-grafana and gcx.
Links
README
From the repo.
mcp-doc-server
A docs-retrieval MCP server that gives AI agents and LLMs live, section-level access to Grafana Labs product documentation.
It exposes four read-only tools (search_docs, get_doc_outline, get_doc, list_products) over the pages served from grafana.com/docs, backed by a deterministic term frequency-inverse document frequency (TF-IDF) index with no embeddings and no server-side LLM.
Run it as a standalone MCP server in a client such as Cursor, Claude Desktop, or Claude Code, through the gcx docs CLI, or alongside the other tools in mcp-grafana.
Quick start
Install the server and CLI:
go install github.com/grafana/mcp-doc-server/cmd/mcp-doc-server@latest
go install github.com/grafana/mcp-doc-server/cmd/docs@latest
Connect it to your MCP client:
{
"mcpServers": {
"grafana-docs": {
"command": "/absolute/path/to/bin/mcp-doc-server"
}
}
}
Run go env GOPATH to find the binary path.
Future plans
We are working on integrations with GCX and Grafana MCP server directly. Those PRs are a work in progress.
We are also exploring a hosted Grafana Docs MCP server (no timeframe yet).
Documentation
- Architecture and design notes: how the core and adapters fit together, prior art, and cost analysis.
- Contributing: spec-driven development workflow.
- Security: vulnerability reporting.
License
Apache License 2.0. See LICENSE.
Collected info
- ★ 1 stars
- ⎇ 2 forks
- Language: Go
- Source updated: 9/18/2026
Config for your environment
Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.
Tool
OS
Config file: ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"url": "{MCP_ENDPOINT_URL}"
}
}
}Paste into mcpServers in the config file. Restart Cursor after saving.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.