Grounded Docs MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | No | Optional OpenAI API key. When set, enables vector search using OpenAI embedding models. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server searches up-to-date documentation for libraries and packages. When a question depends on a library's API or behavior, search here before answering from memory.
search_docssearches one library. Passversionwhen the project uses a specific version; without it, the newest indexed version is searched when there is one.Library names must match an indexed library. If a search cannot find the library, call
list_librariesfor the exact names and versions.fetch_urlis for libraries that are not indexed: read their documentation to answer now.scrape_docscan index a library so later searches find it. Indexing runs in the background: check progress withget_job_infoand search once the job has completed.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scrape_docsA | Scrape and index documentation from a URL for a library. Use this tool to index a new library or a new version. Scraping a library version that already exists is rejected unless |
| refresh_versionA | Re-scrape a previously indexed library version, updating only changed pages. |
| search_docsA | Search up-to-date documentation for a library or package. Examples:
|
| read_pageA | Read the full content of an indexed documentation page, for example a URL returned by |
| list_pagesB | List the indexed pages of a library version, with an optional URL filter and pagination. |
| list_librariesA | List all indexed libraries and their versions. Use this to find the correct library name. |
| find_versionB | Find the best matching version for a library. Use to identify available or closest versions. |
| list_jobsB | List all indexing jobs. Optionally filter by status. |
| get_job_infoA | Get details for a specific indexing job. Use the 'list_jobs' tool to find the job ID. |
| cancel_jobA | Cancel a queued or running indexing job. Use the 'list_jobs' tool to find the job ID. |
| remove_docsA | Remove indexed documentation for a library version. Use only if explicitly instructed. |
| fetch_urlA | Fetch a single URL and convert its content to Markdown. Use this tool to read the content of any web page. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| libraries | List all indexed libraries |
| jobs | List indexing jobs, optionally filtering by status. |
TDQS
Scored across 12 tools
Most tools have clearly distinct purposes: search, read, scrape, refresh, list, and job management are well separated. The main potential overlap is scrape_docs vs refresh_version vs fetch_url, and find_version vs list_libraries, but descriptions clarify the boundaries adequately.
All tool names follow a consistent snake_case verb_noun pattern: scrape_docs, search_docs, read_page, list_pages, list_libraries, find_version, list_jobs, get_job_info, cancel_job, remove_docs, refresh_version, fetch_url. The convention is predictable throughout.
Twelve tools is well within a reasonable range and each tool supports a distinct part of the documentation indexing and retrieval workflow. Search/read tools, indexing controls, version lookup, and job management all earn their place.
The surface covers the core lifecycle: scrape/index, refresh, remove, search, read pages, list libraries/pages, resolve versions, and manage jobs. Minor gaps exist around richer library metadata inspection or job retry, but core workflows are not blocked.