Skip to main content
Glama
Grounded Docs MCP Server

Grounded Docs MCP Server

by mbcrumpe

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoOptional 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_docs searches one library. Pass version when 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_libraries for the exact names and versions.

  • fetch_url is for libraries that are not indexed: read their documentation to answer now. scrape_docs can index a library so later searches find it. Indexing runs in the background: check progress with get_job_info and search once the job has completed.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 replace is true; use refresh_version to update an existing version in place.

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:

  • {library: "react", query: "hooks lifecycle"} -> matches latest version of React

  • {library: "react", version: "18.0.0", query: "hooks lifecycle"} -> matches React 18.0.0 or earlier

  • {library: "typescript", version: "5.x", query: "ReturnType example"} -> any TypeScript 5.x.x version

  • {library: "typescript", version: "5.2.x", query: "ReturnType example"} -> any TypeScript 5.2.x version

read_pageA

Read the full content of an indexed documentation page, for example a URL returned by search_docs or list_pages. Long pages are returned in parts; the response says how to continue.

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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
librariesList all indexed libraries
jobsList indexing jobs, optionally filtering by status.

TDQS

A3.8/5.0

Scored across 12 tools

Disambiguation4/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityActive
ResponsivenessNo recent community issues