Haunt API
The Haunt API server enables AI agents to perform structured web data extraction and monitor API usage via two tools:
web_extract: Provide a URL and a plain-English description of what data to extract, and receive clean JSON back. Automatically handles JavaScript rendering, Cloudflare protection, and complex page layouts — no browser management or parsing setup required.get_usage: Check your current API consumption and remaining credits against your plan limits.
It integrates via MCP (Model Context Protocol) with Claude Desktop, Cursor, VS Code, or Windsurf, using a simple API key passed as a parameter on each call.
Handles Cloudflare-protected websites automatically during web extraction, bypassing anti-bot measures and JavaScript rendering challenges to extract structured data.
Provides REST API access for web extraction with the same functionality as the MCP tools, allowing HTTP clients to extract structured data from URLs using prompts and API keys.
Eliminates the need for Docker containers or local infrastructure by providing fully hosted web extraction capabilities through the MCP server.
Automatically handles JavaScript rendering during web extraction, processing complex dynamic websites to extract structured data from pages that require JavaScript execution.
Haunt API MCP Server
Legacy directory listing note
This repository is kept public because older MCP directories, including Glama, may still index it. For new installs, use the current public NPM package
@hauntapi/mcp-server, the one-command CLI, or the hosted MCP endpoint.Canonical repo: https://github.com/Darko893/mcp-server
Haunt gives Claude, Cursor, Windsurf, and other MCP-compatible agents a clean web extraction tool: public URL → structured JSON or markdown instead of raw HTML.
Current setup
One-command agent setup
npx -y --package @hauntapi/cli@latest haunt-cli initIf you already have a Haunt API key:
HAUNT_API_KEY=PASTE_YOUR_KEY_HERE npx -y --package @hauntapi/cli@latest haunt-cli initHosted MCP endpoint
https://hauntapi.com/mcp/serverTransport: streamable HTTP JSON-RPC.
Local MCP package
{
"mcpServers": {
"haunt": {
"command": "npx",
"args": ["-y", "@hauntapi/mcp-server"],
"env": {
"HAUNT_API_KEY": "your-api-key"
}
}
}
}Related MCP server: Anybrowse
Free tier
Get a free API key at hauntapi.com.
Free tier: 1,000 credits/month, no credit card needed.
Credits are not one-to-one requests. Simple public/non-LLM output usually uses 1 credit, normal structured extraction 2, browser-rendered extraction 4, and heavier extraction 8. Failed, blocked, login/CAPTCHA, provider, and server failures do not burn credits.
Capability boundaries
Haunt does not promise universal extraction, CAPTCHA solving, login-wall access, paywall access, restricted-page access, or bot-challenge circumvention.
It works best on permitted public pages and supported rendered pages. When a page is blocked, login-required, CAPTCHA-gated, paywalled, restricted, or too thin to verify, Haunt returns a clear failure signal instead of fabricated data.
Tools
try_demo_extract
No-key activation check. Use this first to verify the MCP connection and see Haunt's demo/docs/signup links without using credits.
extract
Extract structured data from a permitted public web page. Provide a URL and a plain-English prompt describing the fields you want.
Example prompt:
Extract the product name, price, availability, and review count from https://example.com/productThe current package may also expose helper aliases such as extract_url, extract_article, and extract_metadata for client compatibility.
Pricing
Plan | Credits | Price |
Free | 1,000/mo | £0 |
Starter | 10,000/mo | £19/mo |
Pro | 30,000/mo | £49/mo |
Scale | 80,000/mo | £99/mo |
Upgrade: https://hauntapi.com/#pricing
Links
Website: https://hauntapi.com
Agent setup: https://hauntapi.com/agents
Hosted MCP info: https://hauntapi.com/mcp/server
Get API key: https://hauntapi.com/#signup
Current repo: https://github.com/Darko893/mcp-server
Current NPM package: https://www.npmjs.com/package/@hauntapi/mcp-server
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Darko893/haunt-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server