What is an MCP server?
An MCP server exposes tools and resources to AI clients over the Model Context Protocol. How Webcrawl MCP works hosted and locally.
MCP stands for Model Context Protocol. An MCP server is a process (or HTTP endpoint) that advertises tools and resources an AI client can call during a conversation. Instead of pasting API docs into a prompt, the client discovers operations such as scrape URL or search the web and invokes them with structured arguments.
For web access, an MCP server is often the difference between an agent that guesses from training data and one that can fetch a live page. Clients like Claude Code, Cursor, Codex, and other MCP-capable apps can attach servers. The server handles auth, validation, and the underlying HTTP calls to your API so the model never needs raw curl in the system prompt.
A useful MCP server for scraping exposes clear verbs that match product endpoints: search, scrape, crawl, map, extract, and related helpers. Vague tools that only say “browse” force the model to guess parameters. Named tools with typed inputs make retries and logging easier for developers who review agent traces later.
Webcrawl ships MCP in two ways. Hosted MCP lives at https://webcrawl.app/mcp and is meant for interactive sign-in from supported clients. Local MCP runs with npx -y @webcrawl/mcp and typically uses WEBCRAWL_API_KEY against the hosted API or your self-hosted base URL. The webcrawl CLI setup command can register those configs for Claude, Cursor, Codex, Gemini, and Windsurf so you do not hand-edit JSON unless you want to.
Hosted and local MCP should call the same engine behavior. That matters when you prototype on the free hosted tier (1,000 credits a month) and later self-host the MIT engine from the webcrawl-anything repo. Your agent prompts stay the same; only the transport and auth change.
When you evaluate “MCP for web scraping,” check whether the server is official, whether tools map cleanly to scrape/crawl/search, whether rate limits and pricing are published, and whether you can self-host. Prefer servers that document both a hosted URL and a local npx package. Webcrawl’s engine is MIT licensed; the same tools are available over REST with @webcrawl/client if your runtime does not speak MCP, including LangChain, LlamaIndex, Mastra, CrewAI, Make, and Zapier wrappers you maintain yourself.
MCP is not magic. You still need sensible tool choice, URL allowlists for sensitive environments, and credit budgets. It is the cleanest way to give coding agents live web access without reinventing auth for every IDE. Choosing MCP over raw REST is mostly about ergonomics in IDEs and chat clients. MCP discovery means the model sees tool names and JSON schemas without you pasting OpenAPI into every prompt. That reduces tool-calling mistakes when an agent must pick between search and scrape. It also centralizes auth: the client holds the MCP connection while your key or interactive login stays with the server process.
Operationally, treat MCP like any other production dependency. Pin package versions when you run local npx @webcrawl/mcp in CI-like agent sandboxes. Prefer hosted MCP for interactive developer laptops where sign-in is fine. Prefer API keys when headless agents run overnight. Log tool arguments (especially URLs) so you can audit what the agent fetched. Combine MCP with credit budgets and backoff when tools return rate-limit errors.
Finally, remember MCP does not replace product judgment. A scrapes-everything agent still wastes money. Pair MCP with map-first workflows, allowlists for sensitive corpuses, and human review when enrichment writes into a CRM. The protocol is the socket; your tool policy is still the product.
Hosted MCP config
{
"mcpServers": {
"webcrawl": { "url": "https://webcrawl.app/mcp" }
}
}