pmndrs docs MCP server
Commit Nov 9, 2026Enables an AI agent to search and read documentation and examples for libraries like react-three-fiber, drei, zustand, and jotai.
Also known as pmndrs/docs, docs
- Stars
- 120
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 4.31.0
- Last commit
- Nov 9, 2026
- License
- MIT
What is pmndrs docs MCP?
pmndrs docs enables an AI agent to search and read documentation and examples for libraries like react-three-fiber, drei, zustand, and jotai.
Summary generated from the project's README
About pmndrs docs MCP server
Accessing technical documentation for libraries like react-three-fiber, drei, zustand, and jotai becomes direct when using this tool within an AI agent. Developers can use the npx command to search for specific topics or read entire library documentations and individual pages. It functions as a reader that provides information via stdout, making it easy for an AI client to ingest precise technical details.
Beyond just reading, the server includes build capabilities to transform mdx files into HTML fragments or full static websites. You can target specific libraries by name or navigate directly to a single page. This setup allows an agent to retrieve one result per line during a search, ensuring the information remains structured and easy to parse for coding tasks.
What you can do with it
- 1Searching library documentationAsk your AI agent to find specific information about instanced meshes within the documentation.
- 2Reading specific library pagesInstruct an AI to read the documentation for the drei library to understand its API.
- 3Converting documentation to HTMLHave the agent build a static website or HTML fragments from mdx files.
Written from the project's README. Every use case is checked against a quote from it.
How to install pmndrs docs MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall pmndrs docs MCP in Claude Code
$ claude mcp add --transport http docs https://docs.pmnd.rs/api/mcpInstall pmndrs docs MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"docs": {
"url": "https://docs.pmnd.rs/api/mcp"
}
}
}Install pmndrs docs MCP in VS Code
.vscode/mcp.json
{
"servers": {
"docs": {
"type": "http",
"url": "https://docs.pmnd.rs/api/mcp"
}
}
}Install pmndrs docs MCP in VS Code CLI
$ code --add-mcp '{"name":"docs","type":"http","url":"https://docs.pmnd.rs/api/mcp"}'Install pmndrs docs MCP in Codex
$ codex mcp add docs --url https://docs.pmnd.rs/api/mcpInstall pmndrs docs MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.docs] url = "https://docs.pmnd.rs/api/mcp"
Install pmndrs docs MCP in Gemini CLI
$ gemini mcp add -s user --transport http docs https://docs.pmnd.rs/api/mcpInstall pmndrs docs MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"docs": {
"url": "https://docs.pmnd.rs/api/mcp",
"type": "http"
}
}
}Automated checks
Ran Nov 14, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachablepmndrs/docs is public and reachablegithub.com/pmndrs/docs ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-11-09github.com/pmndrs/docs ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeinitialize answered with protocol 2025-06-18 in 192 msPass
README
View on GitHubdocs/getting-started/introduction.mdx
Usage
Read
$ npx @pmndrs/docs # the reader: every library, every page
$ npx @pmndrs/docs drei # straight into one
$ npx @pmndrs/docs drei/performances/instances # straight to a page
$ npx @pmndrs/docs search instanced mesh # one result per line, on stdout
See read for keys, search and caching.
Build
$ cat foo.mdx | npx @pmndrs/docs@latest build # one HTML fragment, on stdout
$ npx @pmndrs/docs@latest build docs out # one .html per .mdx, assets alongside
$ npx @pmndrs/docs@latest build docs out --format website # the whole website, statically exported
See CLI for formats, flags, previewing and docs.config.ts.
Releasing
Every push to main redeploys docs.pmnd.rs via ci.yml — no changeset needed for that.
Add one (pnpm changeset) only when downstream consumers pinning pmndrs/docs/.github/workflows/build.yml@v4 or @pmndrs/docs@4 should pull the change. It bumps package.json, publishes to npm, and tags vX.Y.Z + vX — so @v4 resolves to the latest.
TL;DR — site-only tweak: skip. Anything consumers see (workflow, build behavior, templates): add one.
Test
Visual tests are performed in the cloud, through chromatic-storybook.yml.
pnpm run lgtm— the gate CI runs (lgtm.yml): types, lint, registry validation, unit tests.
pmndrs docs MCP questions
How do I add pmndrs docs MCP to Claude Code?
Run claude mcp add --transport http docs https://docs.pmnd.rs/api/mcp in your terminal. Add --scope user to make it available in every project.
How do I add pmndrs docs MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
How can I search for specific documentation topics?
You can use the search command to find results, which will output one result per line to stdout.
Can I build documentation into HTML fragments or a full website?
Yes, the tool allows building single HTML fragments, individual HTML files per MDX, or a complete statically exported website.
How are visual tests handled?
Visual tests are conducted in the cloud using Chromatic Storybook.
