mcpField
C
convert

convert

github.com/heyman333Documents10115 installsUpdated 31w ago
Repository

About convert

convert is a skill that turns a URL or local file into Markdown through the markitdown MCP server. It constructs the appropriate URI, calls the conversion tool, and outputs the resulting Markdown.

Key features

  1. 01Accept URLs, data URIs, and file paths
  2. 02Resolve relative paths to absolute paths
  3. 03Construct a file URI for local files
  4. 04Call the markitdown conversion tool
  5. 05Output converted Markdown

Use cases

  1. 01Convert a web page to Markdown
  2. 02Convert a local document to Markdown
  3. 03Convert content supplied as a data URI

MCP support

It uses the markitdown MCP server by calling its convert_to_markdown(uri) tool. It reports when the server is not connected.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/heyman333/markitdown-skill --skill convert

After installing, type/convertin Claude Code to confirm it loaded.

Details

From the project README

Convert $ARGUMENTS to Markdown using the markitdown MCP server.

Follow these rules to build the URI:

  • If the argument starts with http:// or https:// or data:, use it as-is.
  • If the argument is a local file path (absolute or relative), convert it to a file:// URI.
    • Resolve relative paths to absolute using the current working directory.
    • Example: /Users/me/docs/report.pdf → file:///Users/me/docs/report.pdf

Then call the convert_to_markdown(uri) tool from the markitdown MCP server with the constructed URI.

Output the resulting Markdown content directly.

If the convert_to_markdown tool is not available, print: "⚠️ markitdown MCP server is not connected. Please run /markitdown-setup first, then restart Claude Code."

Comments

Markdown supported