CUDA Q Docs logo

CUDA Q Docs

Version-pinned CUDA-Q documentation, API lookup, examples, and target guidance for MCP-capable AI agents.

Install CUDA Q Docs

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "cuda-q-docs": {
      "command": "uvx",
      "args": [
        "cudaq-docs-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio cuda-q-docs -- uvx cudaq-docs-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 5 tools correctly ().

Overview

CUDA-Q Docs MCP server gives AI agents access to documentation, API references, runnable examples, and execution-target guidance matched to an installed CUDA-Q version. It uses versioned SQLite FTS5 indexes with BM25 ranking and can operate offline after the index is available. Tools cover document search, page retrieval, Python and C++ symbol lookup, example discovery, and target selection. Reach for it when an agent needs CUDA-Q answers that reflect the package version on your machine rather than potentially outdated training data.

Use cases

  • Search CUDA-Q documentation for version-matched guidance
  • Resolve Python or C++ CUDA-Q API symbols
  • Find runnable CUDA-Q examples for a release
  • Compare CUDA-Q execution targets before selecting a backend

Key features

  • Version-aware documentation search
  • Exact Python and C++ API lookup
  • Runnable example discovery
  • Execution-target selection guidance
  • SQLite FTS5 and BM25 indexing
  • Offline use after index download

Tools5

What CUDA Q Docs lets your agent do. Expand a tool for its parameters.

Verified live~945 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/16 checks healthy over the last 88d

What it can do

From the 5 tools this server returned when we ran it.

Handles credentials · 1Makes network requests · 3Read-only tools · 5
Network at startup2 connections
Files written at startup12

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · cudaq-docs-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed5Callable tools this server registers over MCP.

How CUDA Q Docs works

What CUDA-Q Docs MCP server does

CUDA-Q Docs MCP server exposes version-matched CUDA-Q reference material to MCP-compatible AI clients. It serves documentation pages, API symbols, runnable programs, and guidance for choosing among CUDA-Q execution targets. The project is a community implementation and is not affiliated with or endorsed by NVIDIA.

The available content follows the CUDA-Q version installed on the machine when possible. This helps avoid answers based on renamed APIs, removed targets, or installation instructions from another release.

How it works

The server uses CUDA-Q’s published documentation assets rather than scraping pages with heuristics. A Sphinx inventory provides the page and API-symbol manifest, while markdown documentation mirrors supply page content. The server cleans those pages, preserves heading anchors, and reconstructs code blocks with language information.

Content is divided by heading and indexed in SQLite FTS5. Porter stemming and BM25 ranking support full-text searches without embeddings or API keys. Examples and application sources come from the GitHub release tag corresponding to the selected documentation version. Each version has its own SQLite database in the local cache.

Version selection follows a fixed order: an explicit tool argument, the installed cudaq package detected through distribution metadata, and then latest. The package is not imported for detection. If a requested version has no local index, the response identifies the gap and falls back to latest, including the command needed to build the missing index.

Setup and configuration

Register the server with an MCP client using uvx cudaq-docs-mcp, or install it with pip and run cudaq-docs-mcp. The server communicates over stdio. Claude Code, Claude Desktop, Cursor, and VS Code are documented configuration options.

On first use, the client downloads a prebuilt index when one exists. Build an index manually for a selected release with:

bash
uvx cudaq-docs-mcp build --version 0.14.0

The command without a subcommand starts the MCP service. cudaq-docs-mcp build builds an index for the installed CUDA-Q package, or for latest when no installed package is detected. cudaq-docs-mcp info reports the cache location, indexed versions, and detected CUDA-Q installation.

Set CUDAQ_DOCS_MCP_AUTOBUILD=1 to build an index automatically on first use. Set CUDAQ_DOCS_MCP_CACHE to move the cache directory. No API keys are required.

Tools and capabilities

CUDA-Q Docs MCP server provides these tools:

  • search_docs(query, version?, limit?) returns ranked excerpts with breadcrumbs and canonical URLs.
  • get_page(path, version?) returns one complete documentation page as markdown.
  • find_api(name, language?, version?) resolves an exact Python or C++ symbol and returns its kind, URL, and an excerpt.
  • search_examples(query, language?, version?, limit?) finds complete runnable programs from the matching CUDA-Q release.
  • list_targets(category?) lists 24 execution targets, including simulators, hardware providers, and clouds, with selection guidance.

It also exposes cudaq://versions for installed and indexed versions, and cudaq://llms.txt for the served version’s CUDA-Q llms.txt content.

Limitations and notes

Prebuilt indexes are available only for versions that have published assets. Other versions require a local build. The latest index is refreshed by a nightly workflow, so newly published content may not appear immediately.

The roadmap mentions pinned prebuilt indexes for more release versions, retrieval evaluations, and CUDA-QX documentation; these are not current capabilities. Served documentation originates from NVIDIA’s CUDA-Q repository, and the project’s license materials identify the documentation content separately from the server code.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about CUDA Q Docs

CUDA-Q Docs is an MCP server that connects AI agents to version-matched CUDA-Q documentation and release examples. Its main tools search docs, retrieve full pages, resolve Python or C++ API symbols, find runnable examples, and list execution targets. It uses local SQLite indexes and requires no API keys.

Install it with `uvx cudaq-docs-mcp` or run `pip install cudaq-docs-mcp` and use `cudaq-docs-mcp` as the command. Register that command as an stdio MCP server in your client. A prebuilt index downloads automatically on first use when available.

Run `uvx cudaq-docs-mcp build --version 0.14.0`, replacing the version with the release you need. Local building is needed when a prebuilt asset is unavailable. `cudaq-docs-mcp info` shows indexed versions and the cache location.

Yes, CUDA-Q Docs works with Cursor through its `.cursor/mcp.json` configuration. Add an MCP server entry that runs `uvx` with `cudaq-docs-mcp` as its argument. The same stdio command is also documented for Claude Code, Claude Desktop, and VS Code.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCUDA Q Docs AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/cuda-q-docs?style=directory)](https://allmcps.com/mcp/cuda-q-docs)
HTML Embed
<a href="https://allmcps.com/mcp/cuda-q-docs"><img src="https://allmcps.com/api/badge/cuda-q-docs?style=directory" alt="CUDA Q Docs on AllMCPs" /></a>