MCP server
Refinery MCP
Clean raw HTML into LLM-ready text before agents spend tokens.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.6
- Listing updated
- 5 days ago
About Refinery MCP
Refinery MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add refinery-mcp --env APIFY_TOKEN='<APIFY_TOKEN>' -- npx -y @larelabs/refinery-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"refinery-mcp": {
"command": "npx",
"args": [
"-y",
"@larelabs/refinery-mcp"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"refinery-mcp": {
"command": "npx",
"args": [
"-y",
"@larelabs/refinery-mcp"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"refinery-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@larelabs/refinery-mcp"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"refinery-mcp": {
"command": "npx",
"args": [
"-y",
"@larelabs/refinery-mcp"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"refinery-mcp": {
"command": "npx",
"args": [
"-y",
"@larelabs/refinery-mcp"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
APIFY_TOKENApify API token for the Refinery HTML cleaner actorRequired
Pricing
Open source
Refinery MCP FAQ
Is Refinery MCP free?
Yes. Refinery MCP is open source, so you can use and self-host it for free.
How do I add Refinery MCP to Claude Code?
Run this command in your terminal: claude mcp add refinery-mcp --env APIFY_TOKEN='<APIFY_TOKEN>' -- npx -y @larelabs/refinery-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.