Skip to main content
Glama
takltc

markdown-new-mcp

by takltc

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

Related MCP server: MarkItDown 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 file

  • api_key (string, optional): API key for higher rate limits; the server also reads MARKDOWN_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 file

  • api_key (string, optional): API key for higher rate limits; the server also reads MARKDOWN_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 file

  • api_key (string, optional): API key for higher rate limits; the server also reads MARKDOWN_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

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/takltc/markdown-new-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server