<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: XCrawl</title>
    <description>The latest articles on DEV Community by XCrawl (@xcrawl).</description>
    <link>https://dev.to/xcrawl</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4191104%2F79e972e3-9dff-41b1-995d-9762d15d044d.png</url>
      <title>DEV Community: XCrawl</title>
      <link>https://dev.to/xcrawl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xcrawl"/>
    <language>en</language>
    <item>
      <title>Giving Your AI Coding Assistant Live Web Access with an MCP Server</title>
      <dc:creator>XCrawl</dc:creator>
      <pubDate>Sat, 17 Oct 2026 20:01:34 +0000</pubDate>
      <link>https://dev.to/xcrawl/giving-your-ai-coding-assistant-live-web-access-with-an-mcp-server-58eg</link>
      <guid>https://dev.to/xcrawl/giving-your-ai-coding-assistant-live-web-access-with-an-mcp-server-58eg</guid>
      <description>&lt;p&gt;Large language models know a lot, but they don't know what changed on a website this morning. If you use Claude Code, Claude Desktop, Cursor or another MCP client, you can close that gap by connecting a web data server through the Model Context Protocol (MCP). This post explains what that gives you, how to set it up in a few minutes, and how to use it without wasting tokens.&lt;/p&gt;

&lt;p&gt;What MCP adds&lt;/p&gt;

&lt;p&gt;MCP is an open protocol that lets an AI client call external tools. A web scraping MCP server exposes tools such as "scrape this URL" or "search the web" that the assistant can call on its own when a task needs fresh information: reading the latest docs for a library, checking a changelog, comparing pricing pages, or collecting examples from a site.&lt;/p&gt;

&lt;p&gt;Which tools you get&lt;/p&gt;

&lt;p&gt;As an example, the &lt;a href="https://www.xcrawl.ai/" rel="noopener noreferrer"&gt;XCrawl&lt;/a&gt; MCP server (npm package xcrawl-mcp, for the XCrawl web data API) exposes these tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;xcrawl_scrape: fetch one page and return Markdown, HTML, links or a summary&lt;/li&gt;
&lt;li&gt;xcrawl_search: run a web search and return structured results&lt;/li&gt;
&lt;li&gt;xcrawl_map: list the URLs a domain exposes&lt;/li&gt;
&lt;li&gt;xcrawl_crawl and xcrawl_check_crawl_status: crawl a site section as a background job and collect results&lt;/li&gt;
&lt;li&gt;xcrawl_key_status: check your API key and remaining credits&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Option 1: the hosted endpoint&lt;/p&gt;

&lt;p&gt;The simplest setup uses the hosted MCP URL, so nothing runs on your machine. In Claude Desktop's claude_desktop_config.json:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "mcpServers": {
    "xcrawl": {
      "url": "https://mcp.xcrawl.com/YOUR_API_KEY/mcp"
    }
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;In Claude Code you can add the same endpoint from the terminal:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;claude mcp add --transport http xcrawl https://mcp.xcrawl.com/YOUR_API_KEY/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;The server also accepts the key in an Authorization: Bearer header if you'd rather keep it out of the URL.&lt;/p&gt;

&lt;p&gt;Option 2: run it locally over stdio&lt;/p&gt;

&lt;p&gt;If you prefer a local process (Node.js 18+):&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;XCRAWL_API_KEY=YOUR_API_KEY npx -y xcrawl-mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;or register it with Claude Code:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;claude mcp add xcrawl -e XCRAWL_API_KEY=YOUR_API_KEY -- npx -y xcrawl-mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Prompts that work well&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Read the migration guide at  and list the breaking changes that affect our code."&lt;/li&gt;
&lt;li&gt;"Search for the current rate limits of  and cite the source pages."&lt;/li&gt;
&lt;li&gt;"Map the URLs under docs.example.com/guides and summarize what each guide covers."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keeping it efficient&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ask for Markdown, not HTML: it is far smaller and easier for the model to read.&lt;/li&gt;
&lt;li&gt;Map before you crawl: listing URLs first lets you pick only the pages you need.&lt;/li&gt;
&lt;li&gt;Prefer a few targeted scrapes over a full crawl when you just need one answer.&lt;/li&gt;
&lt;li&gt;Keep sources: ask the assistant to include the URLs it read so you can verify claims.&lt;/li&gt;
&lt;li&gt;Be a good citizen: respect each site's robots.txt and terms, and don't hammer small sites.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Wrapping up&lt;/p&gt;

&lt;p&gt;Connecting a web data MCP server turns your assistant from "trained up to some date" into something that can check the live web when it matters. Setup is a single config entry, and new XCrawl accounts start with 1,000 free credits, which is plenty to try the workflow on your own projects. Docs are at &lt;a href="https://docs.xcrawl.com/" rel="noopener noreferrer"&gt;https://docs.xcrawl.com/&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>webscraping</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
