GroundDocs is a version-aware documentation assistant that connects LLMs to trusted, real-time documentation. It helps reduce hallucinations and ensures accurate, version-specific responses by providing your AI tools with access to official documentation sources.
The simplest way to install GroundDocs is using the CLI:
npx @grounddocs/cli@latest install <client>
Replace <client>
with your IDE or tool of choice. Currently supported clients include:
If you prefer to set up GroundDocs manually, you can add it to your IDE's MCP (Model Context Protocol) configuration:
{
"mcpServers": {
"@grounddocs/grounddocs": {
"command": "npx",
"args": ["-y", "@grounddocs/grounddocs@latest"]
}
}
}
GroundDocs currently supports:
Once installed, you can query documentation directly through your AI assistant. GroundDocs will automatically retrieve relevant, version-specific documentation.
You can ask version-specific questions about documentation, such as:
What changes were made to the kubectl command behavior in Kubernetes 1.26 regarding pruning during apply operations?
GroundDocs will provide accurate, version-specific information from the official documentation rather than potentially outdated or incorrect information that might be in the AI model's training data.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "grounddocs-grounddocs" '{"command":"npx","args":["-y","@grounddocs/grounddocs@latest"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"@grounddocs/grounddocs": {
"command": "npx",
"args": [
"-y",
"@grounddocs/grounddocs@latest"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"@grounddocs/grounddocs": {
"command": "npx",
"args": [
"-y",
"@grounddocs/grounddocs@latest"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect