web2mcp — Claude Code MCP server: features and setup
The web2mcp MCP server for Claude Code turns websites and REST APIs into tools for AI agents. Configure an API connector, then connect over HTTP.
MIT ★ 5 updated 2026-11-13
claude mcp add --transport http web2mcp https://web2mcp.cwei59969.workers.dev/mcpWhat web2mcp does
web2mcp exposes HTTP APIs as MCP tools that an agent can call. Each connector describes an endpoint and its request parameters; selected fields can trim large JSON responses. Built-in connectors cover services such as Wikipedia, Hacker News and weather data.
Run it as a Cloudflare Worker or locally with npx -y github:charleswei118/web2mcp. A Cloudflare deployment asks for an AUTH_TOKEN; local wrangler dev runs without authentication until .dev.vars is created. The server does not handle browser automation, scraping pages that require sign-in, or OAuth on behalf of end users.
What it helps with
- expose a REST API as MCP tools
- reduce tool definitions for a large API with catalog mode
- fetch public data through built-in connectors
- convert an OpenAPI 3 specification into a connector
Example prompts for the agent
- Search GitHub repositories for MCP servers with web2mcp.
- Get a Wikipedia summary of Cloudflare.
- Fetch a weather forecast for these coordinates.
How to install web2mcp
Platform CLI: remote server
claude mcp add --transport http web2mcp https://web2mcp.cwei59969.workers.dev/mcpPlatform CLI: remote server
codex mcp add web2mcp --url https://web2mcp.cwei59969.workers.dev/mcpConfig file
{
"mcpServers": {
"web2mcp": {
"url": "https://web2mcp.cwei59969.workers.dev/mcp"
}
}
}Config file
{
"servers": {
"web2mcp": {
"type": "http",
"url": "https://web2mcp.cwei59969.workers.dev/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http web2mcp https://web2mcp.cwei59969.workers.dev/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about web2mcp
How do I install web2mcp in Claude Code?
Run claude mcp add --transport http web2mcp https://web2mcp.cwei59969.workers.dev/mcp to connect the public demo server.
What does web2mcp do?
It turns HTTP API descriptions into MCP tools that AI agents can call. It also includes connectors for several public services.
What does web2mcp need to run?
A self-hosted Cloudflare deployment uses Cloudflare Workers and an AUTH_TOKEN set during deployment. For local use, run wrangler dev; authentication can be configured through .dev.vars.