MCP Server with 15 browser tools for Claude Code — powered by Cloudflare Browser Rendering
Project description
cf-browser-mcp
MCP Server with 15 browser tools for Claude Code — powered by Cloudflare Browser Rendering.
Installation
pip install cf-browser-mcp
Setup
Add to your .mcp.json. Two modes are supported:
Direct Mode (no Worker needed)
{
"mcpServers": {
"cf-browser": {
"type": "stdio",
"command": "python",
"args": ["-m", "cf_browser_mcp.server"],
"env": {
"CF_ACCOUNT_ID": "your-cloudflare-account-id",
"CF_API_TOKEN": "your-cloudflare-api-token"
}
}
}
}
Worker Mode (via deployed Cloudflare Worker)
{
"mcpServers": {
"cf-browser": {
"type": "stdio",
"command": "python",
"args": ["-m", "cf_browser_mcp.server"],
"env": {
"CF_BROWSER_URL": "https://cf-browser.YOUR-SUBDOMAIN.workers.dev",
"CF_BROWSER_API_KEY": "your-api-key"
}
}
}
}
Tools
Read-Only Tools
| Tool | Description |
|---|---|
browser_markdown |
Convert page to clean Markdown |
browser_content |
Get fully rendered HTML |
browser_screenshot |
Take a PNG screenshot |
browser_pdf |
Generate PDF |
browser_scrape |
Extract elements by CSS selector |
browser_json |
AI-powered data extraction |
browser_links |
Extract all hyperlinks |
browser_a11y |
Accessibility tree (low token cost) |
browser_crawl |
Start async multi-page crawl |
browser_crawl_status |
Check crawl progress |
Interaction Tools (Worker Mode only)
| Tool | Description |
|---|---|
browser_click |
Click an element on a page |
browser_type |
Type text into an input field |
browser_evaluate |
Execute JavaScript and return result |
browser_interact |
Execute a chain of browser actions |
browser_submit_form |
Fill and submit a form |
All tools accept optional cookies and headers for authenticated scraping.
Requirements
- Python 3.10+
- Direct Mode: Cloudflare Account ID + API Token
- Worker Mode: A deployed CF Browser Worker
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cf_browser_mcp-2.0.0.tar.gz.
File metadata
- Download URL: cf_browser_mcp-2.0.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a408515c8f458fd67c3f86139fe81c113ee06dae9eeba33011b7cadeb10d6d35
|
|
| MD5 |
3575016e539c9a8b903433d6d67bcb46
|
|
| BLAKE2b-256 |
f05a9ddbefaff5d6e249f2b3ebd414ca3fed257780141c3d91f584b1458cd1b9
|
Provenance
The following attestation bundles were made for cf_browser_mcp-2.0.0.tar.gz:
Publisher:
publish.yml on claude-world/cf-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cf_browser_mcp-2.0.0.tar.gz -
Subject digest:
a408515c8f458fd67c3f86139fe81c113ee06dae9eeba33011b7cadeb10d6d35 - Sigstore transparency entry: 1112744625
- Sigstore integration time:
-
Permalink:
claude-world/cf-browser@37d8a191089e16d63f74b8370093d48dc2316fbe -
Branch / Tag:
refs/heads/main - Owner: https://github.com/claude-world
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@37d8a191089e16d63f74b8370093d48dc2316fbe -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cf_browser_mcp-2.0.0-py3-none-any.whl.
File metadata
- Download URL: cf_browser_mcp-2.0.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbb467d3067d33b8c4781c4ff8f4d46505cf167a12875abd5024c128ae2ea29b
|
|
| MD5 |
4a02f9022cb1be3b8764cef89ba27d23
|
|
| BLAKE2b-256 |
fa3efd9c4b03a0d614a276b52170faa9f8f0eaf8e5def83fbb293da533209279
|
Provenance
The following attestation bundles were made for cf_browser_mcp-2.0.0-py3-none-any.whl:
Publisher:
publish.yml on claude-world/cf-browser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cf_browser_mcp-2.0.0-py3-none-any.whl -
Subject digest:
dbb467d3067d33b8c4781c4ff8f4d46505cf167a12875abd5024c128ae2ea29b - Sigstore transparency entry: 1112744695
- Sigstore integration time:
-
Permalink:
claude-world/cf-browser@37d8a191089e16d63f74b8370093d48dc2316fbe -
Branch / Tag:
refs/heads/main - Owner: https://github.com/claude-world
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@37d8a191089e16d63f74b8370093d48dc2316fbe -
Trigger Event:
workflow_dispatch
-
Statement type: