Give your AI agent a web extraction tool.
MCP means your AI tool gets a Haunt button it can press for web data. Run the agent install command, add your free key, then ask it to extract a page.
Start with the no-key demo to prove the connection. Use the free key when you want real extraction.
npx -y --package @hauntapi/cli@latest haunt-cli init
Try the demo tool.
try_demo_extract proves your MCP client can talk to Haunt before you add a key.
Paste your key.
Create a free key, replace ${HAUNT_API_KEY}, and keep the key private.
Ask the agent.
Ask for the fields you need. Haunt returns structured JSON or a clear blocked-page failure.
Create a key, then run the agent install.
Free includes 1,000 credits per month. Failed extractions do not burn credits. No automatic overages.
Using Claude Desktop, Cursor, or local stdio?
Use the public npm package from the docs. Setup, every config variant, and troubleshooting live there.
Open MCP setupBuilding an app or script?
REST is the fallback for apps and scripts, not the main AI-agent setup. Use the terminal-specific first-call examples in the docs.
Open REST first callGive Claude or Cursor real web access.
Once Haunt is wired in as an MCP tool, ask your agent in plain language. It calls Haunt and returns clean JSON, or a clear failure it can reason about.
“Get the pricing plans off acme.com”
Returns plan names, prices, limits and features as structured JSON.
“Summarise this company page”
Returns a clean summary, metadata and key links without raw HTML.
“Is this page blocked?”
Haunt says so clearly and doesn't invent data, so your agent can fall back.
Haunt works on normal public pages. Heavy app shells, login walls and CAPTCHAs can fail. Haunt reports the failure honestly instead of fabricating fields.
Related MCP & agent guides.
MCP server for web scraping
Connect Claude, GPT or any LLM to live web data with structured extraction.
guideWeb scraping fallbacks for MCP servers
Handling 403, 429, thin content and structured extraction failures.
setupAgent setup in one command
The MCP npx command and the agent-readable setup skill.
docsMCP setup in the docs
Local stdio MCP, configuration variants and troubleshooting.
use caseAI agent web extraction API
Demo, free key, MCP, REST and clean failure handling.
capabilitiesWhat Haunt can extract
Honest capability guide and platform limits.