Skip to main content

WebQuest MCP is a Model Context Protocol (MCP) server that exposes powerful web search and scraping tools to AI agents and MCP-compatible clients.

Project description

WebQuest MCP Logo

WebQuest MCP

WebQuest MCP is a Model Context Protocol (MCP) server that exposes powerful web search and scraping tools to AI agents and MCP-compatible clients.

For available scrapers and browsers, see the WebQuest documentation.

Installation

Installing using pip:

pip install webquest-mcp

Installing using uv:

uv add webquest-mcp

Usage

Starting the server

To start the WebQuest MCP server, run:

webquest-mcp

The server reads its configuration from environment variables (or a .env file loaded automatically). Available settings:

  • OPENAI_API_KEY (required): OpenAI API key for scrapers.
  • HYPERBROWSER_API_KEY (required): Hyperbrowser API key.
  • WEBQUEST_MCP_AUTH_SECRET (optional): JWT secret to enable authenticated requests. Leave unset to disable auth.
  • WEBQUEST_MCP_AUTH_AUDIENCE (optional, default webquest-mcp): JWT audience to validate when auth is enabled.
  • WEBQUEST_MCP_TRANSPORT (optional, default stdio): MCP transport. Supported values: stdio, sse, streamable-http.
  • WEBQUEST_MCP_HOST (optional, default localhost): Host to bind when the transport is HTTP-based.
  • WEBQUEST_MCP_PORT (optional, default 8000): Port to use when the transport is HTTP-based.

Example .env:

OPENAI_API_KEY=your_openai_api_key
HYPERBROWSER_API_KEY=your_hyperbrowser_api_key
WEBQUEST_MCP_AUTH_SECRET=your_jwt_secret_key
WEBQUEST_MCP_AUTH_AUDIENCE=webquest-mcp
WEBQUEST_MCP_TRANSPORT=streamable-http
WEBQUEST_MCP_HOST=localhost
WEBQUEST_MCP_PORT=8000

Token generation

To generate an authentication token for the MCP client, set the required environment variables and run the generator.

The token generator uses the same WEBQUEST_MCP_* prefix as the server.

Required settings:

  • WEBQUEST_MCP_AUTH_SECRET: JWT secret used by the server.
  • WEBQUEST_MCP_AUTH_SUBJECT: Identifier for the client receiving the token.

Optional settings:

  • WEBQUEST_MCP_AUTH_AUDIENCE (default webquest-mcp)
  • WEBQUEST_MCP_AUTH_EXPIRATION_DAYS (default 365)

Example .env:

WEBQUEST_MCP_AUTH_SECRET=your-secret-key
WEBQUEST_MCP_AUTH_SUBJECT=client-name
WEBQUEST_MCP_AUTH_AUDIENCE=webquest-mcp
WEBQUEST_MCP_AUTH_EXPIRATION_DAYS=365

Run the generator:

webquest-mcp token

Docker

Run the published image:

docker run --rm -p 8000:8000 \
  -e OPENAI_API_KEY=your_openai_api_key \
  -e HYPERBROWSER_API_KEY=your_hyperbrowser_api_key \
  mustafametesengul/webquest-mcp

Disclaimer

This tool is for educational and research purposes only. The developers of WebQuest MCP are not responsible for any misuse of this tool. Scraping websites may violate their Terms of Service. Users are solely responsible for ensuring their activities comply with all applicable laws and website policies.

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

webquest_mcp-0.11.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

webquest_mcp-0.11.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file webquest_mcp-0.11.2.tar.gz.

File metadata

  • Download URL: webquest_mcp-0.11.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.1

File hashes

Hashes for webquest_mcp-0.11.2.tar.gz
Algorithm Hash digest
SHA256 4db8b75f75b1bd26a7323fc6d9ac540c539994ea1cb1d984ad2daab006a78930
MD5 da965df110c5f37e01ccda6d579ea7e7
BLAKE2b-256 53301d4be529cf3004af9869cf7a4ffec71c0e7ba0b36a382f9502736e727bd6

See more details on using hashes here.

File details

Details for the file webquest_mcp-0.11.2-py3-none-any.whl.

File metadata

File hashes

Hashes for webquest_mcp-0.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2048a10ba73b8bff42cd893c871f7f6814a5bec32be74562dc8a3c507887580d
MD5 81d41ae3308e813315f63bc688f516af
BLAKE2b-256 3527089efe38964dda8f866ff6e64c890a04249d8fcec2735ca031544c5163ba

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