Back to Browse

Distill MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Web pages to clean Markdown for AI agents, honouring robots.txt and AI opt-outs.

About

Web pages to clean Markdown for AI agents, honouring robots.txt and AI opt-outs.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (4/4 approved).

9 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

file_system

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Your RapidAPI keyRequired

Environment variable: RAPIDAPI_KEY

Your api.market key, used when RAPIDAPI_KEY is not setRequired

Environment variable: API_MARKET_KEY

rapidapi or apimarket, when both keys are set (the old name HFL_MARKETPLACE still works)Optional

Environment variable: BYTESTAY_MARKETPLACE

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "bytestay-distill-mcp": {
      "command": "uvx",
      "args": [
        "bytestay-distill-mcp==0.2.10"
      ],
      "env": {
        "RAPIDAPI_KEY": "your-rapidapi-key-here",
        "API_MARKET_KEY": "your-api-market-key-here",
        "BYTESTAY_MARKETPLACE": "your-bytestay-marketplace-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

Distill MCP server

M8ven Score CI PyPI Python 3.10+ License: MIT MCP Registry Glama Distill MCP server

Give your AI agent clean Markdown from any web page: the main content only, without navigation, ads or scripts. Distill honours robots.txt and AI opt-outs.

The server is open source (MIT). It calls the Distill API, which is paid, with a free plan.

  • You use your own key, from RapidAPI or api.market.
  • Every tool call is one request on your plan.
  • The free Basic plan has 15 requests a month, with a hard limit, so it never runs up a bill.

1. Get a key

marketplace
RapidAPIplans
api.marketstore

2. Add the server to your MCP client

The server runs locally over stdio with uv. Put your key in its environment.

JSON configuration (Claude Desktop, Cursor, VS Code and most clients):

{
  "mcpServers": {
    "distill": {
      "command": "uvx",
      "args": ["--from", "bytestay-distill-mcp", "distill-mcp"],
      "env": { "RAPIDAPI_KEY": "your-rapidapi-key" }
    }
  }
}

Claude Code:

claude mcp add distill --env RAPIDAPI_KEY=your-rapidapi-key -- uvx --from bytestay-distill-mcp distill-mcp

Environment

variablemeaning
RAPIDAPI_KEYyour RapidAPI key
API_MARKET_KEYyour api.market key, used when RAPIDAPI_KEY is not set
BYTESTAY_MARKETPLACErapidapi or apimarket, when both keys are set

Up to 0.2.7 the setting was HFL_MARKETPLACE. The old name still works, with a one-line notice on stderr.

Without a key the server still starts. The first tool call then explains where to get one.

Also listed on Glama:

distill-mcp on Glama

3. Tools

toolwhat it does
fetch_markdown(url, max_chars=20000, include_links=True, include_images=False, include_tables=True)fetches the page and returns its main content as Markdown, with the title, author, date and language
html_to_markdown(html, base_url=None, …)the same, for HTML you already have; nothing is fetched

When a site refuses (robots.txt, a noai directive, bot protection), status says so and a note asks the agent to respect it. Don't fetch the page another way: the terms forbid it.

status is ok on success. Other values (robots_txt, opted_out, blocked, not_html, http_error, unreachable) explain why there is no content.

Every tool returns the API's JSON response.

  • When the marketplace reports it, quota_remaining is added: the requests left on your plan this month.
  • Errors are explained in plain words, with what to do next:
    • key refused, with the link to subscribe;
    • quota reached, with the plans;
    • input the API couldn't process, with the API's reason.

Privacy

  • Local files are read only when a tool is given their path. They are sent to the API for that one request.
  • The API processes inputs in memory and doesn't store them. See the privacy policy.
  • Your key is only sent to the marketplace you chose.

Limits

  • html up to 5 MB.
  • Only HTML pages; PDFs and other files are refused (use Unfold for documents).
  • The server needs Python 3.10+ (uv installs it for you).

Development

uv venv && uv pip install -e ".[dev]"
.venv/bin/pytest            # unit tests, no network; 100% coverage required
.venv/bin/ruff check src tests scripts

scripts/e2e_stdio.py distill runs the server over stdio, as a client would, and calls its tools against the real API. It needs RAPIDAPI_KEY or API_MARKET_KEY.

History

Formerly Hybrid Forge Lab. This repository continues hybridforgelab/distill-mcp under the ByteStay name since November 2026, so the older commits come from there.

Licence

MIT. Distill itself is a paid API with a free plan, run by ByteStay.

Reviews

No reviews yet

Be the first to review this server!