markdown-new-mcp
Convert PDF, DOCX, XLSX, images, and 20+ formats to Markdown using markdown.new API.
README
markdown-new-mcp
MCP (Model Context Protocol) server for markdown.new file conversion API. Convert PDF, DOCX, XLSX, images and 20+ formats to Markdown.
Installation
npm install markdown-new-mcp
Usage
With Claude Desktop or Claude Code
For stdio MCP clients, use npx -y so the server starts under Node.js and preserves the JSON-RPC stdio stream. Add this to your Claude config:
{
"mcpServers": {
"markdown-new": {
"command": "npx",
"args": ["-y", "markdown-new-mcp@latest"]
}
}
}
With opencode
Add this to the mcp section of ~/.config/opencode/opencode.json:
{
"mcp": {
"markdown-new": {
"type": "local",
"command": ["npx", "-y", "markdown-new-mcp@latest"]
}
}
}
With API Key (Optional)
For higher rate limits, you can provide an API key via environment variable:
{
"mcpServers": {
"markdown-new": {
"command": "npx",
"args": ["-y", "markdown-new-mcp@latest"],
"env": {
"MARKDOWN_NEW_API_KEY": "mk_your_api_key_here"
}
}
}
}
Optional:
MARKDOWN_NEW_TIMEOUT_MS: request timeout in milliseconds for upstream API calls (default:30000)
Available Tools
convert_url_to_markdown
Convert a remote file URL to clean Markdown text. Supports PDF, DOCX, XLSX, images, and 20+ formats.
Parameters:
url(string, required): HTTP or HTTPS URL of the remote fileapi_key(string, optional): API key for higher rate limits; the server also readsMARKDOWN_NEW_API_KEY
Example:
Convert this PDF to markdown: https://example.com/document.pdf
convert_file_to_markdown
Convert a local file to clean Markdown text. The path must be absolute and visible to the server process. Supports PDF, DOCX, XLSX, images, and 20+ formats.
Parameters:
file_path(string, required): The absolute path to the local fileapi_key(string, optional): API key for higher rate limits; the server also readsMARKDOWN_NEW_API_KEY
Example:
Convert /path/to/document.pdf to markdown
convert_url_to_json
Convert a remote file URL to structured JSON, including metadata such as title, tokens, and duration. Supports PDF, DOCX, XLSX, images, and 20+ formats.
Parameters:
url(string, required): The URL of the remote fileapi_key(string, optional): API key for higher rate limits; the server also readsMARKDOWN_NEW_API_KEY
Supported Formats
- Documents: PDF, DOCX, ODT
- Spreadsheets: XLSX, XLS, XLSM, XLSB, ET, ODS, Numbers
- Images: JPG, JPEG, PNG, WebP, SVG
- Text/Data: TXT, MD, CSV, JSON, XML, HTML, HTM
Limits
- Without API Key: 500 requests/day per IP
- With API Key: Higher limits available
- Maximum File Size: 10MB
Development
# Install dependencies
npm install
# Build
npm run build
# Run locally
npm run dev
# Smoke test the stdio MCP server
npm run build
npm run smoke:stdio -- node dist/index.js
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.