Skip to main content

Firecrawl-backed web scrape MCP server with browser cookie support

Project description

web-mcp-tools

Lint Tests Coverage CI PyPI GHCR Tags

Standalone MCP server and Python package for Firecrawl-backed web scraping with optional browser-cookie request headers.

Install

uv sync --extra dev

Configuration

  • FIRECRAWL_BASE_URL: Firecrawl API base URL.
  • FIRECRAWL_API_KEY or FIRECRAWL_API_KEY_FILE: Firecrawl API credential.
  • WEB_MCP_TOOLS_COOKIES_FROM_BROWSER: Optional browser selector for authenticated scrapes, for example safari or safari:/path/to/Cookies.binarycookies.
  • WEB_MCP_TOOLS_COOKIES_MODE: off, best_effort, or required.
  • WEB_MCP_TOOLS_HOST: HTTP bind host for MCP HTTP transports.
  • WEB_MCP_TOOLS_PORT: HTTP bind port for MCP HTTP transports.
  • WEB_MCP_TOOLS_STREAMABLE_HTTP_PATH: Streamable HTTP endpoint path. Defaults to /mcp.

Run

Run over stdio:

uv run web-mcp-tools mcp

Run over Streamable HTTP:

uv run web-mcp-tools mcp --transport streamable-http --host 0.0.0.0 --port 8000

The HTTP server exposes health probes at /health and /healthz, and the default Streamable HTTP MCP endpoint at /mcp.

Compatibility health-only server:

uv run web-mcp-tools serve --host 127.0.0.1 --port 8000

Build

uv build

Test

uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

web_mcp_tools-0.0.3.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

web_mcp_tools-0.0.3-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file web_mcp_tools-0.0.3.tar.gz.

File metadata

  • Download URL: web_mcp_tools-0.0.3.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for web_mcp_tools-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c15a71760d1ed02feac84562540ec542dce54135cccff9493ca6d3b1f7a13625
MD5 e73ff346827f224c4f9800056238ef69
BLAKE2b-256 3e43cc2525c9cbdedd4b53630cff2da23d61d196a779bfb21c8c660361a23499

See more details on using hashes here.

File details

Details for the file web_mcp_tools-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: web_mcp_tools-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for web_mcp_tools-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a3474a517898673ecbf98fbf7ee4e94f72925e6b7fbe858d349c0eabecbf79ca
MD5 fe0ceb78fbb25424e69492b8f212c682
BLAKE2b-256 885b0c8a386197cddbf335dfd490669921cc59a8dd8eadacd66f2dfcfdc53825

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page