CrawlForge
HomeUse CasesIntegrationsPricingDocumentationBlog
How to Scrape Websites in Zed AI with CrawlForge MCP
Tutorials
Back to Blog
Tutorials

How to Scrape Websites in Zed AI with CrawlForge MCP

C
CrawlForge Team
Engineering Team
April 14, 2026
9 min read

On this page

Zed is fast. Zed AI is powerful. But Zed AI cannot see the web -- until you plug in an MCP server. CrawlForge adds 20 scraping tools that Zed AI can invoke directly from the Assistant panel.

Json

This guide walks you through every step to scrape websites in Zed AI, with real code and a full troubleshooting section.

Table of Contents

  • Why Web Scraping in Zed AI Matters
  • Prerequisites
  • Step 1: Install CrawlForge MCP
  • Step 2: Configure Zed's Context Server
  • Step 3: Restart Zed and Verify
  • Step 4: First Scrape from the Assistant
  • Full Working Example: Scrape an API Reference
  • Advanced: Stealth and Structured Extraction
  • Troubleshooting
  • FAQ

Why Web Scraping in Zed AI Matters

Zed AI lives in the editor. When you can scrape websites in Zed AI without leaving the Assistant, patterns like these become cheap:

  • Read a third-party SDK doc, then generate a wrapper in your project's style.
  • Fetch a competitor's blog post, then summarize the architecture decisions.
  • Pull a sitemap, then flag pages your crawler has not visited.

Zed's MCP support (called "Context Servers" in settings) launched in 2024 and uses the same open protocol as Claude Desktop and Cursor. CrawlForge exposes 20 scraping tools over MCP, so they appear in Zed's slash-command menu with zero glue code. For protocol background see our MCP protocol explainer.

Prerequisites

  • Zed 0.148+ -- download from zed.dev
  • Node.js 18+
  • CrawlForge account -- free at crawlforge.dev/signup, 1,000 credits included

Step 1: Install CrawlForge MCP

Bash

Step 2: Configure Zed's Context Server

Open Zed settings with Cmd+, (macOS) or Ctrl+, (Linux/Windows). Zed settings live at ~/.config/zed/settings.json. Add a context_servers block:

Json

Replace cf_live_your_key_here with the key from crawlforge.dev/dashboard/api-keys.

Step 3: Restart Zed and Verify

  1. Fully quit Zed (Cmd+Q).
  2. Reopen and open the Assistant panel (Cmd+?).
  3. Type / in the Assistant prompt. You should see CrawlForge tools in the suggestion list: /fetch_url, /scrape_structured, /search_web, and others.

Step 4: First Scrape from the Assistant

In the Assistant panel, try:

Use CrawlForge to fetch https://news.ycombinator.com and return the top 5 story titles.

Zed calls fetch_url (1 credit), streams the HTML back, then Zed AI extracts the titles. Response appears inline in the Assistant panel, ready to paste into a buffer.

Full Working Example: Scrape an API Reference

Say you are integrating with the Stripe API and want the full PaymentIntent field list as TypeScript. Paste this prompt:

Use CrawlForge's extract_content on https://docs.stripe.com/api/payment_intents/object. Then write a TypeScript interface that matches every documented field.

Zed issues this call under the hood:

Typescript

Cost: 2 credits. Zed AI reads the markdown and produces:

Typescript

Paste it into a buffer and you have type-safe Stripe integration in seconds.

Advanced: Stealth and Structured Extraction

Hit a Cloudflare wall? Swap fetch_url for stealth_mode:

Use CrawlForge's stealth_mode on https://locked-down-site.example.com and return the main article text.

Cost jumps from 1 to 5 credits but bypasses most anti-bot systems.

Want CSS-selector precision? Use scrape_structured:

Use scrape_structured on https://ycombinator.com/companies with: - name: .company-name - batch: .batch-tag - description: .company-description

Zed AI returns a typed array. 2 credits per run.

Credit Reference

ToolCreditsUse when
fetch_url1Static HTML
extract_content2Readable article / doc
scrape_structured2CSS-selector fields
search_web5URL unknown
stealth_mode5Anti-bot protection
scrape_with_actions5SPA with interactions
deep_research10Multi-source synthesis

Troubleshooting

Tools missing from slash menu -- Context server config not loaded. Check ~/.config/zed/logs/Zed.log for context_servers parse errors. A trailing comma in JSON silently disables the whole block.

"Failed to spawn crawlforge-mcp-server" -- Zed cannot find the binary. Replace "path": "crawlforge-mcp-server" with the absolute path from which crawlforge-mcp-server, for example "path": "/usr/local/bin/crawlforge-mcp-server".

401 Unauthorized on every call -- API key is wrong or unset. Verify with curl -H "Authorization: Bearer $CRAWLFORGE_API_KEY" https://crawlforge.dev/api/v1/credits/balance. Expected response includes your remaining credits.

Assistant picks the wrong tool -- Explicitly name it: "Use CrawlForge's scrape_structured..." instead of "scrape this page." Zed AI defaults to the cheapest match when the intent is ambiguous.

Zed freezes on long scrapes -- Deep research can run for 60+ seconds. Zed shows a spinner but input is still responsive; wait for completion rather than canceling.

Next Steps

  • Explore all 20 CrawlForge tools you can call from Zed
  • Read the complete MCP web scraping guide for architecture patterns
  • See getting started docs for API reference
  • Compare to Firecrawl alternative if you are evaluating vendors

Start free at crawlforge.dev/signup -- 1,000 credits, no credit card.

Tags

Zed-AIweb-scrapingMCPtutorialcontext-serverseditorAI-agents

About the Author

C

CrawlForge Team

Engineering Team

Building the most comprehensive web scraping MCP server. We create tools that help developers extract, analyze, and transform web data for AI applications.

On this page

Frequently Asked Questions

Does Zed AI support MCP servers out of the box?+

Yes. Zed 0.148 and later support MCP under the name "context servers." Configuration lives in ~/.config/zed/settings.json under the context_servers key. Once configured, tools appear in the Assistant panel slash menu.

Can I use CrawlForge in Zed without a paid plan?+

Zed AI has both free and paid tiers, and CrawlForge works on both. The CrawlForge free tier provides 1,000 credits per month -- enough for roughly 1,000 basic fetches or 100 deep research queries.

How do I debug context server errors in Zed?+

Open ~/.config/zed/logs/Zed.log and search for "context_servers." JSON syntax errors, missing binaries, and invalid environment variables all surface there. A common culprit is a trailing comma in settings.json, which silently disables the entire block.

What makes Zed AI a good fit for web scraping tasks?+

Zed is native-code fast, so streaming large scrape results back into the Assistant feels instant. Combined with Zed AI picking the right MCP tool automatically, you can research, extract, and generate code without breaking flow.

Can multiple MCP servers run in Zed at the same time?+

Yes. The context_servers block accepts multiple entries. You can run CrawlForge alongside filesystem, git, or database MCP servers. Zed AI presents all exposed tools in one unified slash menu.

Related Articles

How to Scrape Websites with Claude Code (2026 Guide)
Tutorials

How to Scrape Websites with Claude Code (2026 Guide)

Scrape any website from your terminal with Claude Code and CrawlForge MCP. Fetch pages, extract data, bypass anti-bot -- in under 2 minutes.

C
CrawlForge Team
|
Apr 14
|
10m
How to Scrape Websites in Cursor IDE with CrawlForge MCP
Tutorials

How to Scrape Websites in Cursor IDE with CrawlForge MCP

Turn Cursor IDE into a web scraping workstation. Connect CrawlForge MCP and extract structured data from any site without leaving your editor.

C
CrawlForge Team
|
Apr 14
|
9m
How to Scrape Websites with GitHub Copilot Agents in VS Code
Tutorials

How to Scrape Websites with GitHub Copilot Agents in VS Code

Add web scraping to GitHub Copilot agents in VS Code. Configure CrawlForge MCP so Copilot can fetch, extract, and research live web data on demand.

C
CrawlForge Team
|
Apr 14
|
10m

Footer

CrawlForge

Enterprise web scraping for AI Agents. 20 specialized MCP tools designed for modern developers building intelligent systems.

Product

  • Features
  • Pricing
  • Use Cases
  • Integrations
  • Changelog

Resources

  • Getting Started
  • API Reference
  • Templates
  • Guides
  • Blog
  • FAQ

Developers

  • MCP Protocol
  • Claude Desktop
  • Cursor IDE
  • LangChain
  • LlamaIndex

Company

  • About
  • Contact
  • Privacy
  • Terms

Stay updated

Get the latest updates on new tools and features.

Built with Next.js and MCP protocol

© 2025-2026 CrawlForge. All rights reserved.