MCP server for converting PDF documents to Markdown format
npm install @botanicastudios/mcp-pdf2mdAn MCP (Model Context Protocol) server that provides PDF to Markdown conversion functionality.
- Convert PDF documents to Markdown format
- Support for both local file paths and URLs
- Built with TypeScript and the MCP SDK
- Ready to publish and use with npx
You can run this MCP server directly using npx:
``bash`
npx -y @botanicastudios/mcp-pdf2md
The server provides a single tool called pdf_to_markdown that accepts:
- input: A file path or URL to a PDF document
`json`
{
"tool": "pdf_to_markdown",
"arguments": {
"input": "/path/to/document.pdf"
}
}
Or with a URL:
`json`
{
"tool": "pdf_to_markdown",
"arguments": {
"input": "https://example.com/document.pdf"
}
}
To set up for development:
`bash``
npm install
npm run build
npm start
MIT