Connect
- Claude
- ChatGPT
- Claude Code
- Cursor
- Other clients
Prefetch is in the Claude directory. It works on claude.ai, Claude Desktop and Claude mobile.
- Open Prefetch in the Claude directory and select Connect.
- Sign in to Prefetch and select Allow access.
Try it
Once you’re connected, ask for what you want in plain language:Get me the brand colors and industry category for stripe.com
Find every pricing page on vercel.com and summarize what changed
Crawl the /docs section of fastapi.tiangolo.com and list the endpoints it documents
Watch linear.app/pricing every morning and tell me when a plan’s price changesYour agent picks the right tool, calls it, and reads the result.
The tools
See the tool reference for every parameter. Credits work exactly as they do over REST: same prices, and only successful calls are charged. See Credits.
How crawling works
A crawl takes minutes, which is longer than an agent wants to wait on a tool call. Soprefetch_crawl starts the crawl and waits for it, up to wait_seconds (60 by default).
If the crawl finishes in time, you get the pages straight away. If not, you get the crawl id and an instruction:
- Polling is free. Pages are billed as they complete, so checking twice never charges twice.
- Disconnecting cancels the crawl. If your client hangs up while
prefetch_crawlis still waiting, the crawl stops rather than running on and billing pages nobody will read.
prefetch_batch and prefetch_batch_scrape wait the same way.
How monitors work
A monitor keeps checking after the conversation ends, so its results have to be read back.prefetch_run_monitor runs a check and waits for it, and prefetch_get_monitor_check shows the latest check at any time. Both answer with what changed, not with every page:
run_now: true on prefetch_create_monitor takes that first check straight away. Every check is billed for as long as the monitor is active, and the create tool tells the agent so. Pause or delete monitors you no longer need.
Response size
Tool results go straight into your agent’s context window, so content is capped at 50,000 characters per result, well below the REST API’s 1 MB cap. A full Wikipedia article inraw_html is about 240,000 characters, and one uncapped call like that would crowd out most of what the agent knows.
Truncation is always announced:
Target the content
Pass
include_selectors with the part of the page you want, like ["article"].Ask for a summary
Use
formats: ["summary"] instead of ["markdown"] when you only need the gist.Errors
Failures come back as readable tool results rather than transport errors, so your agent can read the message and correct itself:401 means no credentials, or an access token that expired or was disconnected, and apps react by refreshing the token or asking you to sign in again. A 403 means an invalid key or an account out of credits, which signing in again won’t fix. See Authentication and Error handling.
Good to know
What a connected app can do
What a connected app can do
A connected app can call every tool on this page as you, and its calls use your credits. It can’t see your password, payment details or API keys, and it can’t change your plan.Each tool tells the app whether it only reads or changes something. Claude runs the read-only tools (scraping, mapping, brand and company lookups, reading monitors) without asking, and asks before anything that starts a crawl or creates, changes, runs or deletes a monitor.
MCP and REST are the same API
MCP and REST are the same API
Both run the same pipeline, so credits, caching, rate limits and the blocklist behave the same either way. An MCP scrape can even be answered from the cache a REST scrape filled, because both build the same cache key.
The endpoint is stateless
The endpoint is stateless
Every request stands alone, so there are no MCP sessions to manage. Every tool is one request and one response. Long-running work like crawls and monitor checks is stored on our side and read back by id, so nothing is lost.
GET and DELETE on /mcp return 405. Use POST.RapidAPI subscriptions can't use MCP
RapidAPI subscriptions can't use MCP
RapidAPI meters usage from a response header that has to be set before the response body is written, and over MCP the cost of a call isn’t known until the tool has run. Rather than under-bill silently,
/mcp returns 400 for RapidAPI traffic.Everything is available over REST through RapidAPI as documented. MCP needs a Prefetch account: sign in when your app asks, or use a key from the dashboard.Which tool should my agent use?
Which tool should my agent use?
Each tool’s description tells the agent when to use it and when to use something else, so this mostly takes care of itself. Two patterns help:
prefetch_enrichbeats three separate calls. It’s one page fetch instead of three, and costs less thanprefetch_brand,prefetch_companyandprefetch_classifytogether.- Map, then scrape, usually beats crawling.
prefetch_mapis cheap and tells you which pages exist. Scraping the three you want costs far less than crawling fifty.
Next steps
Tool reference
Every tool, every parameter.
Agent quickstart
One prompt that sets Prefetch up in your project.
Authentication
Keys, OAuth and error codes.
REST API
The same capabilities over HTTP.