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.
  • AUTH_SECRET (optional): JWT secret to enable authenticated requests. Leave unset to disable auth.
  • AUTH_AUDIENCE (optional, default webquest-mcp): JWT audience to validate when auth is enabled.
  • TRANSPORT (optional, default stdio): MCP transport. Supported values: stdio, sse, streamable-http.
  • 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
AUTH_SECRET=your_jwt_secret_key
AUTH_AUDIENCE=webquest-mcp
TRANSPORT=streamable-http
PORT=8000

Token generation

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

Required settings:

  • AUTH_SECRET: JWT secret used by the server.
  • AUTH_SUBJECT: Identifier for the client receiving the token.

Optional settings:

  • AUTH_AUDIENCE (default webquest-mcp)
  • AUTH_EXPIRATION_DAYS (default 365)

Example .env:

AUTH_SECRET=your-secret-key
AUTH_SUBJECT=client-name
AUTH_AUDIENCE=webquest-mcp
AUTH_EXPIRATION_DAYS=365

Run the generator:

webquest-mcp-token-generator

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.9.0.tar.gz (3.4 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.9.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for webquest_mcp-0.9.0.tar.gz
Algorithm Hash digest
SHA256 dca0e827b078f1c2dc2e5df4f8c107271d52c101744c0edcc293bd5bd3176e77
MD5 872f1a9180566492c9e5a2bfb33c8f8d
BLAKE2b-256 960ec05ddc9430966686bfeb6c50c93d77c5918a4ffb6c5b64cc4052b044527b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for webquest_mcp-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c24cdd94c239cf261a5442a49da187cd514cbf58aad2e5223f03136317fef6d
MD5 8055af4612baf00dd9cb6466b949e738
BLAKE2b-256 634eb61f2c3b91f48dd7cb3b11f8f08fa373d7355dda9314b7501429a6a18a6b

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