# web2mcp

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5 repo stars
- Author: charleswei118
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/charleswei118/web2mcp
- Updated: 2026-11-13
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/web2mcp

## What it 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.

## Requirements
- Remote server: `https://web2mcp.cwei59969.workers.dev/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http web2mcp https://web2mcp.cwei59969.workers.dev/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add web2mcp --url https://web2mcp.cwei59969.workers.dev/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "web2mcp": {
            "url": "https://web2mcp.cwei59969.workers.dev/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "web2mcp": {
            "type": "http",
            "url": "https://web2mcp.cwei59969.workers.dev/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http web2mcp https://web2mcp.cwei59969.workers.dev/mcp
```

## When to use it
- 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
- Search GitHub repositories for MCP servers with web2mcp.
- Get a Wikipedia summary of Cloudflare.
- Fetch a weather forecast for these coordinates.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
