MCP NPX Fetch logo

MCP NPX Fetch

by tokenizin-agency

A powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease. It seamlessly integrates with Claude Desktop and other MCP clients.

View on GitHub

Last updated: N/A

What is MCP NPX Fetch?

MCP NPX Fetch is an MCP server that allows you to fetch and transform web content from URLs into various formats like HTML, JSON, Markdown, and plain text. It supports custom headers for authentication and is designed for high performance and type safety.

How to use MCP NPX Fetch?

You can use MCP NPX Fetch either by installing it globally via npm (npm install -g @tokenizin/mcp-npx-fetch) and running mcp-npx-fetch, or directly with npx (npx @tokenizin/mcp-npx-fetch). It can also be integrated with Claude Desktop by adding a configuration to the mcpServers object in the Claude Desktop configuration file.

Key features of MCP NPX Fetch

  • Universal Content Fetching: Supports HTML, JSON, plain text, and Markdown formats

  • Custom Headers Support: Add authentication and custom headers to your requests

  • Built-in Transformations: Automatic conversion between formats

  • High Performance: Built with modern JavaScript features and optimized for speed

  • MCP Compatible: Seamlessly integrates with Claude Desktop and other MCP clients

  • Type-Safe: Written in TypeScript with full type definitions

Use cases of MCP NPX Fetch

  • Fetching and parsing data from websites for analysis

  • Converting web pages to Markdown for documentation

  • Integrating web content into applications via API

  • Automating content extraction and transformation workflows

FAQ from MCP NPX Fetch

What formats does MCP NPX Fetch support?

It supports fetching and transforming content into HTML, JSON, Markdown, and plain text.

Can I add custom headers to my requests?

Yes, you can add custom headers for authentication or other purposes.

How do I integrate it with Claude Desktop?

You need to add a configuration to the mcpServers object in the Claude Desktop configuration file.

Is it type-safe?

Yes, it's written in TypeScript with full type definitions for enhanced type safety.

What technologies are used in this project?

This project uses Model Context Protocol SDK, JSDOM, Turndown, TypeScript, and Zod.