Refinery MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 55 installs a week from npm. Last commit 28 Jun 2026.
Clean raw HTML into LLM-ready text before agents spend tokens.
Today is the operative word: we check Refinery MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add refinery-mcp -e 'APIFY_TOKEN=<APIFY_TOKEN>' -- npx -y @larelabs/refinery-mcp
{
"mcpServers": {
"refinery-mcp": {
"command": "npx",
"args": [
"-y",
"@larelabs/refinery-mcp"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
[mcp_servers.refinery-mcp]
command = "npx"
args = ["-y", "@larelabs/refinery-mcp"]
env = { APIFY_TOKEN = "<APIFY_TOKEN>" }
{
"mcpServers": {
"refinery-mcp": {
"command": "npx",
"args": [
"-y",
"@larelabs/refinery-mcp"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
{
"servers": {
"refinery-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@larelabs/refinery-mcp"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
Put your own value in place of
<APIFY_TOKEN> (Apify API token for the Refinery HTML cleaner actor).
The author’s registry entry marks it as required.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Turn any web page URL or HTML into clean Markdown or plain text for an LLM to read.
Detect and redact PII and secrets (API keys, tokens) in text, HTML or PDF before it reaches an LLM.
Cloud scraping & crawling API for AI agents. Turn any URL into clean, LLM-ready markdown.
Token-bounded repository context for coding agents over MCP.
Fetch public web pages as clean, token-budgeted text for AI agents.
Turn any URL or HTML into clean markdown, tables, links or JSON for agents
Web page or HTML to clean LLM-ready Markdown or JSON. x402 pay-per-call, $0.005, no API key.
Answers built from our own checks of this server.