@hauntapi/mcp-server
A web extraction server that turns permitted public web pages into structured JSON or Markdown using plain-language prompts, returning explicit error signals (never fabricated data) when pages are blocked, login-required, CAPTCHA-gated, or too sparse.
Key capabilities:
Demo without an API key (
try_demo_extract): Verify the server is wired in, explore sample extraction output, and get links to docs, signup, pricing, and free-tier details.General-purpose structured data extraction (
extract_url): Describe in plain English what fields you want (e.g. product names, prices, reviews, contact details) and receive clean JSON, Markdown, or raw HTML. Works with JavaScript-heavy SPAs.Clean Markdown conversion (
extract_markdown): Convert a public page into readable Markdown optimized for RAG pipelines, agent context, or saving as a.mdfile.Article content extraction (
extract_article): Pull structured fields — title, full body text, author, and publish date — from news articles, blog posts, and editorial pages.Page metadata retrieval (
extract_metadata): Obtain title, meta description, Open Graph tags, Twitter Card tags, canonical URL, and other<head>metadata in a consistent JSON schema.Usage monitoring (
get_usage): Check your current plan, monthly credit limit, used credits, and remaining credits.
Extract canonical URL metadata from web pages as part of the metadata extraction capabilities, identifying the preferred URL for content.
Automatically bypass Cloudflare protection when extracting data from URLs, handling JavaScript rendering and Cloudflare security measures transparently.
Access the MCP server source code and documentation on GitHub, with the server hosted at the hauntapi/mcp-server repository.
Handle JavaScript-rendered content when extracting data from URLs, allowing extraction from modern web applications and dynamic websites.
Extract Open Graph metadata (Facebook/Meta tags) and other social media metadata from web pages as part of the metadata extraction capabilities.
Haunt MCP Server
Web extraction for AI agents. Give Claude, Cursor, Windsurf, or any MCP client a clean tool that turns any permitted public web page into structured JSON or Markdown from a plain-language prompt, and returns an honest machine-readable failure instead of fabricated data when a page is blocked.
Website · Docs · Get a free key · Python SDK
Built for agent workflows that need product data, competitor prices, article text, page metadata, lead lists, or research snippets, without brittle CSS selectors. Try it with no API key using the try_demo_extract tool. Free tier: 1,000 credits a month, no card.
Quick Start
One-command agent setup
For the clean CLI path, run:
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 initThe CLI prints the MCP config for Claude, Cursor, Windsurf, and other MCP-compatible clients. It does not edit config files for you.
1. Prove the MCP package is wired in, no key needed
Install the MCP server and call try_demo_extract first. It returns a fixed sample extraction JSON/trace plus docs, signup, pricing, and free-tier links without using credits.
Use Haunt's try_demo_extract tool and show me the signup and docs links.2. Add a free API key for live extraction
Get a free API key: https://hauntapi.com/?utm_source=github&utm_medium=readme&utm_campaign=mcp_server#signup
Add this to your MCP client config:
{
"mcpServers": {
"haunt": {
"command": "npx",
"args": ["-y", "@hauntapi/mcp-server"],
"env": {
"HAUNT_API_KEY": "your-api-key"
}
}
}
}Then ask your agent:
Use Haunt to extract the product name, price, availability, and review count from https://example.com/productFor Markdown output:
Use Haunt extract_markdown to turn https://example.com/docs into clean Markdown.Related MCP server: Crawl4AI MCP Server
Capability boundaries
Haunt does not promise universal extraction, CAPTCHA solving, login-wall access, paywall access, or anti-bot circumvention. It works best on permitted public pages and supported rendered pages. When a page is blocked, login-required, CAPTCHA-gated, or too thin to verify, Haunt returns a clear failure signal instead of fabricated data.
Tools
try_demo_extract
No-key activation check. Returns a fixed sample extraction JSON/trace, Haunt's demo endpoint, docs, signup, pricing, MCP info route, and free-tier details. Use this first when a user has installed the MCP server but has not added HAUNT_API_KEY yet.
extract / extract_url
General-purpose extraction from permitted public web pages. extract and extract_url are aliases so hosted MCP docs and local stdio package users can follow the same wording.
Use it for:
Product names, prices, stock status, reviews
Competitor pricing pages
Directories and lead lists
Job boards
Research pages
Supported permitted public pages where you want clean JSON instead of HTML
It accepts optional response_format values: json (default), markdown / md, and raw_html / html.
extract_markdown
Return clean Markdown from a permitted public page. Use this when the agent or workflow wants readable page text for RAG, notes, docs ingestion, or saving as a .md file instead of structured fields.
extract_article
Extract article fields from news, blog, and editorial pages.
Returns title, body text, author, and publish date when available.
extract_metadata
Extract page metadata including title, description, Open Graph tags, Twitter Card tags, canonical URL, and related metadata.
get_usage
Check current plan, monthly credit limit, used credits, reserved credits, and remaining credits. Use this after a live extraction to see what was charged.
Why Haunt
Natural-language prompts instead of fragile CSS selectors
Supported fetch paths for JavaScript-heavy pages
Challenge-aware extraction with machine-readable verification signals (
error_code,captcha_provider,requires_human_verification)Clean JSON output for agents, databases, and workflows
Clean Markdown output when the job is page text for agents, RAG, notes, or
.mdfilesFree tier for testing
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 |
Credits are not one-to-one requests. Simple public/non-LLM output usually uses 1 credit, normal structured extraction 2, browser-rendered or authenticated extraction 4, and heavy/screenshot extraction 8. Failed, blocked, login/CAPTCHA, provider, and server failures do not burn credits.
Upgrade: https://hauntapi.com/#pricing
Links
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/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server