Use mdkit from Claude and other agents via MCP
mdkit ships an MCP server: agents convert documents to Markdown with the convert_document tool — same limits and credits as the REST API.
mdkit exposes its conversion surface as a Model Context Protocol server
at https://mdkit.online/mcp (streamable HTTP). An agent gets three tools:
convert_document— synchronous conversion of a base64-encoded file, returns the Markdown inline.submit_conversion_job— the async lane (API key required); returns a job id.get_conversion_job— poll one of your jobs; small results are inlined, larger ones come back as aresult_urlto fetch.
Tool calls use the same key and credit tier as REST; tools/list is open for
discovery.
Claude Code
claude mcp add --transport http mdkit https://mdkit.online/mcp \
--header "X-API-Key: YOUR_KEY"
Or in a JSON MCP client config:
{
"mcpServers": {
"mdkit": {
"type": "http",
"url": "https://mdkit.online/mcp",
"headers": {"X-API-Key": "YOUR_KEY"}
}
}
}
The key is optional for convert_document (anonymous calls run at the low IP
rate limit) and required for the async job tools.