@baobabtech/docpipe-mcp
v0.1.5
Published
docpipe's documentation for Claude and any MCP client: the integration guide, every endpoint from the live OpenAPI spec, and search across them.
Readme
docpipe docs for Claude (MCP)
docpipe is Baobab Tech's document processing service: it turns PDFs, Word documents and
images into Markdown, page by page, with each figure cropped and described, links recovered,
and every page checked against the PDF's own text so a bad reading is caught and repaired.
Its API is at https://api.baobabtech.dev.
This package puts docpipe's documentation inside Claude, or any app that speaks the Model Context Protocol. Ask how to submit a document, what a webhook carries or what a 429 means, and Claude answers from the docs themselves: the integration guide, and every endpoint from the live API spec.
Add it to Claude
Claude Code
claude mcp add docpipe --scope user -- npx -y @baobabtech/docpipe-mcpOn Windows, where npx is a script Claude Code cannot start on its own:
claude mcp add docpipe --scope user -- cmd /c npx -y @baobabtech/docpipe-mcpIn PowerShell, quote the --. Where claude is npm's PowerShell script, PowerShell keeps a
bare -- for itself, and claude then fails with unknown option '-y':
claude mcp add docpipe --scope user '--' cmd /c npx -y @baobabtech/docpipe-mcp--scope user makes it available in every project. Leave it out to add it to the current
project for you alone, or use --scope project to write it to the project's .mcp.json for
everyone who clones it. claude mcp list (or /mcp in a session) shows whether it connected;
claude mcp remove docpipe takes it out.
It needs Node.js 18 or later. Nothing else: no key, no account.
With a docpipe API key
A key also gives Claude the guides docpipe serves to its callers: the short guide written for
agents (llms), measured performance, the architecture, and moving off docling. Add the key
to the server's environment:
claude mcp add docpipe --scope user -e DOCPIPE_API_KEY=dp_... -- npx -y @baobabtech/docpipe-mcpAny key will do. It is sent only to the docpipe API, only to read those guides. Keys are issued in the docpipe console.
For everyone on a project
Commit a .mcp.json at the repository root:
{
"mcpServers": {
"docpipe": {
"command": "npx",
"args": ["-y", "@baobabtech/docpipe-mcp"],
"env": { "DOCPIPE_API_KEY": "${DOCPIPE_API_KEY:-}" }
}
}
}Claude Code fills in ${DOCPIPE_API_KEY:-} from each person's environment, so no key is
committed. On Windows the command is "cmd" with "args": ["/c", "npx", "-y", "@baobabtech/docpipe-mcp"].
Claude Desktop, Cursor, VS Code
- Claude Desktop: Settings, Developer, Edit Config opens
claude_desktop_config.json. Add themcpServersblock above and restart. On Windows, if it does not start, use thecmdform. - Cursor: the same block in
.cursor/mcp.json, or~/.cursor/mcp.jsonfor every project. - VS Code:
.vscode/mcp.json, with the server under"servers"instead of"mcpServers". - Any other MCP client takes the same command and arguments.
What Claude can do with it
| Tool | What it answers |
|---|---|
| search_docs | A question in a few words: the best-matching sections of the guides, and matching endpoints |
| read_guide | A whole guide; with no name, the list of guides it can read |
| list_endpoints | Every route in the live API spec, optionally filtered |
| get_endpoint | One route's parameters, request body, responses and response fields |
The integration guide and the OpenAPI spec are also exposed as resources:
docpipe://guides/integration and docpipe://openapi.json.
Settings
| Variable | Default | What it does |
|---|---|---|
| DOCPIPE_API_KEY | none | Also read the guides a key can read |
| DOCPIPE_BASE_URL | https://api.baobabtech.dev | Another docpipe deployment |
The integration guide ships inside the package, so it works offline; the endpoint list is
read from the live spec, so it always matches the API you call. Both are kept for ten minutes.
To be sure of the newest guide, name the version: npx -y @baobabtech/docpipe-mcp@latest.
License
Apache-2.0.
