MCP NPX Fetch

A powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.
  • typescript

41

GitHub Stars

typescript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "tokenizin-agency-mcp-npx-fetch": {
      "command": "npx",
      "args": [
        "-y",
        "@tokenizin/mcp-npx-fetch"
      ]
    }
  }
}

MCP NPX Fetch provides a fast, type-safe server for retrieving and transforming web content into HTML, JSON, Markdown, or plain text, ready to integrate with MCP clients like Claude Desktop.

How to use

You can use MCP NPX Fetch from an MCP client to fetch web content in multiple formats and transform it on the fly. The server exposes four fetch tools you can call: fetch_html, fetch_json, fetch_txt, and fetch_markdown. Each tool accepts a target URL and optional headers to customize requests. Use these tools to retrieve content and convert it to the format you need for downstream processing or display.

To integrate with Claude Desktop or other MCP clients, configure the MCP server entry to run the fetch tool via npx. For example, you can register a server named fetch that executes the MCP NPX Fetch package via npx, passing any needed flags at runtime.

{
  "mcpServers": {
    "fetch": {
      "command": "npx",
      "args": ["-y", "@tokenizin/mcp-npx-fetch"],
      "env": {}
    }
  }
}

How to install

Prerequisites: you need Node.js installed on your system to run MCP NPX Fetch and its CLI tooling.

Install the MCP NPX Fetch package globally so you can access it from any MCP client or command line.

npm install -g @tokenizin/mcp-npx-fetch

You can also use it directly without installation by running it with NPX.

npx @tokenizin/mcp-npx-fetch

Claude Desktop Integration

If you use Claude Desktop, add the following MCP server configuration to your Claude configuration so the client can spawn the fetch server as a local process.

{
  "mcpServers": {
    "fetch": {
      "command": "npx",
      "args": ["-y", "@tokenizin/mcp-npx-fetch"],
      "env": {}
    }
  }
}

Local development

If you want to develop or test locally, clone the project, install dependencies, and run in development mode. This lets you iterate on the MCP server and its tooling.

git clone https://github.com/tokenizin-agency/mcp-npx-fetch.git
cd mcp-npx-fetch
npm install
npm run dev

Run tests to verify behavior during development.

npm test

Available tools

fetch_html

Fetches and returns raw HTML content from any URL.

fetch_json

Fetches and parses JSON data from any URL.

fetch_txt

Fetches content and returns clean plain text content, removing HTML tags and scripts.

fetch_markdown

Fetches content and converts it to well-formatted Markdown.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational