MCP URL Format Converter

MCP URL Format Converter is an MCP server that fetches content from any web address and converts it into structured formats such as HTML, JSON, Markdown, or plain text. Built for developers, data analysts, and users of AI assistants like Claude for Desktop, it enables language models to ingest and examine web pages, API endpoints, raw files, XML feeds, and tabular CSV data through a standardized interface. The server connects directly to external web resources using Node.js libraries including Cheerio, Marked, Fast-XML-Parser, CSVtoJSON, and Turndown to process incoming payloads into clean, consumable output. It incorporates automatic source format detection to handle diverse media types without manual configuration. Security controls such as HTML sanitization via sanitize-html and parameter validation via Zod are applied to help mitigate cross-site scripting risks and malformed payloads. In addition to universal format conversion, the server records a query history resource that tracks recently fetched URLs alongside their timestamps, allowing downstream agents to inspect past requests and systematically retrieve content across heterogeneous web environments.

Category: Browser & Web Automation

Tags: data-extraction, html, markdown, url, web scraping

Visit MCP URL Format Converter

How to install and configure MCP URL Format Converter

  1. Clone the repository and navigate to the project directory: bash git clone https://github.com/yourusername/mcp-url-converter.git cd mcp-url-converter 2. Install the necessary project dependencies: bash npm install 3. Build the project distribution files: bash npm run build 4. Open your Claude for Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows). 5. Add the server entry under the mcpServers configuration key: json { "mcpServers": { "url-converter": { "command": "node", "args": ["/absolute/path/to/mcp-url-converter/build/index.js"] } } } 6. Restart Claude for Desktop to complete integration.

What you can do with MCP URL Format Converter

  • Convert live web documentation and blog posts into clean Markdown to feed readable context directly into Claude during research tasks. - Extract raw data from external REST APIs and XML endpoints, automatically converting and pretty-printing the output as standard JSON. - Transform web-hosted CSV files into structured data tables or JSON records for rapid quantitative parsing and agent-driven analysis. - Scrape HTML pages with automated text extraction and sanitization to strip unsafe elements before parsing page content in AI workflows. - Track and review recently requested web sources by querying the server history resource to avoid repeating external HTTP lookups.

Key facts

  • https://github.com/yourusername/mcp-url-converter
  • Browser & Web Automation, Files, Documents & PDFs
  • data-extraction, html, markdown, url, web scraping

Part of MCP Servers

Related MCP servers

  • MCP LaTeX Server — MCP LaTeX Server is an MCP server that provides tools for creating, editing, validating, and compiling LaTeX documents directly through…
  • MCP JSON — MCP JSON is an MCP server collection that bundles tools for file system operations, Google search, browser-based web automation, and…
  • MCP MD2PDF Server — MCP MD2PDF Server is an MCP server that enables automated conversion of Markdown documents into formatted PDF files with full…
  • MCP Media Processing Server — MCP Media Processing Server is an MCP server that connects AI assistants like Claude Desktop to local media manipulation utilities,…
  • MCP Knowledge Base — MCP Knowledge Base is an MCP server that processes local documents and answers queries based on their contents through similarity…
  • MCP Music Analysis — MCP Music Analysis is an MCP server that enables AI clients like Claude to inspect and process sound recordings using…

What does MCP URL Format Converter do?

MCP URL Format Converter fetches web content from any valid URL and converts it into formats including HTML, JSON, Markdown, or plain text. It helps language models parse web pages, APIs, and document files without needing custom scraping scripts for each source format.

How do I install MCP URL Format Converter for Claude for Desktop?

To install the server, clone the repository, run npm install, and execute npm run build. Next, open your claude_desktop_config.json file and register url-converter under mcpServers, specifying node as the command and pointing the args array to your absolute path to build/index.js. Finally, restart Claude for Desktop to load the tools.

Which tools are available in MCP URL Format Converter?

The server provides specialized fetch tools including fetch for automatic format detection, fetch-json for JSON parsing with pretty printing, fetch-html for raw or extracted text HTML, fetch-markdown for Markdown conversion, and fetch-text for plain text output. It also includes search tools and a recent-urls list resource.

Is MCP URL Format Converter open source?

Yes, MCP URL Format Converter is open source software released under the MIT License. The code is freely available in its repository, allowing users and developers to inspect the source code, customize the format conversion parsers, and integrate the server into their local environments under standard permissive license terms.

How does the server handle security and sanitization?

The server uses sanitize-html to sanitize retrieved HTML content and defend against cross-site scripting vulnerabilities. It also implements input parameter validation using Zod schemas, validates content before processing, and applies safe output encoding to prevent malformed data from affecting client applications.

  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories