@hauntapi/mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HAUNT_API_KEY | No | Optional Haunt API key from https://hauntapi.com for live extraction. Demo and introspection work without a real key. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| try_demo_extractA | Try Haunt's fixed demo extraction without an API key. Use this first when the user wants to verify the MCP package or see the activation path before signup. Returns demo, docs, signup, pricing, and free-tier links. No API key required. Free tier: 1,000 credits/month. |
| extract_urlA | Extract structured data from permitted public web pages by providing a URL and describing what you want. Returns clean JSON with exactly the fields you asked for by default. Can also return clean Markdown or raw HTML when response_format is set. Uses supported fetch paths for JavaScript-heavy pages and returns explicit error signals when blocked. It does not solve CAPTCHA, access login/paywall-only pages, or circumvent anti-bot controls. This is the general-purpose extraction tool. Use extract_markdown for LLM/RAG-ready Markdown, extract_article for full article content, or extract_metadata for page meta tags instead, they are optimised shortcuts. Read-only, makes no changes to any external system. Requires HAUNT_API_KEY environment variable. Free tier: 1,000 credits/month. Returns an error if rate limit, credit quota, or API key is invalid. |
| extract_markdownA | Return clean Markdown from a permitted public web page for agents, RAG ingestion, notes, or .md files. This is a low-cost non-LLM output mode when the page can be fetched cleanly. Blocked, login-required, CAPTCHA-gated, paywalled, and too-thin pages return explicit errors instead of fabricated Markdown. Read-only, makes no changes to any external system. Requires HAUNT_API_KEY environment variable. |
| extract_articleA | Extract the main article content from a news article, blog post, or editorial page. Returns a JSON object with: title (string), body (string, full article text), author (string or null), and published_date (string or null). Use this instead of extract_url when you specifically need article content, it is a focused shortcut with consistent article fields. Read-only, makes no changes to any external system. Requires HAUNT_API_KEY environment variable. Free tier: 1,000 credits/month. Returns an error if rate limit, credit quota, or API key is invalid. |
| extract_metadataA | Extract page metadata from a public or authorised URL: title, meta description, Open Graph tags (og:title, og:description, og:image, og:url), Twitter Card tags, canonical URL, and any other meta information present. Returns a JSON object with all discovered meta tags grouped by type. Use this instead of extract_url when you only need metadata, it is faster and returns a consistent schema. Read-only, makes no changes to any external system. Requires HAUNT_API_KEY environment variable. Free tier: 1,000 credits/month. Returns an error if rate limit, credit quota, or API key is invalid. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
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