answerhatch-mcp
OfficialThis server lets an AI agent onboard a website for AnswerHatch's cite-or-refuse answer widget, entirely from chat.
Sign up or log in to an AnswerHatch account (
answerhatch_signup,answerhatch_login), or use a pre-set token.Register a domain and get proof-of-control options (
answerhatch_create_tenant).Start a crawl once control is proven, and retry if verification isn't visible yet (
answerhatch_start_crawl).Poll status and receive the embed snippet when the site is live (
answerhatch_status).Start a paid subscription and get a Stripe checkout link (
answerhatch_subscribe).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@answerhatch-mcpAdd cited answers to docs.example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AnswerHatch MCP
Put a cite-or-refuse answer box on your docs, from the chat where you already work. Ask your agent to add cited answers to a site and this server does the whole onboarding: register the domain, prove you own it (a DNS record, a file, or a homepage tag, whichever is easiest, and an agent with write access can place the file or tag itself), crawl the pages, and hand back a one-line embed. No dashboard, no operator.
What AnswerHatch is
AnswerHatch answers your visitors from your own published pages, links the source on every answer, and refuses when it has no source. It never invents an API parameter, an endpoint, or a wrong command.
Every "AI on your docs" tool optimises for always answering. For documentation that is the wrong default: a confidently wrong answer is not a bad chat, it is a broken integration and a support ticket. AnswerHatch is built the other way round.
Cite or refuse. Every answer carries the page it came from, or the widget declines and gives the reason. The refusal is a gate in the request path, not a line in a prompt that can be talked around.
No third-party model in the path. Your docs and your users' questions are processed on AnswerHatch's own machines. They do not transit OpenAI or any other model API.
A provenance registry. Every crawled document carries its source URL, the date it was fetched, and its hash, so a reviewer can audit exactly what the widget is allowed to say.
See it refuse a made-up question, live: https://answerhatch.com
Related MCP server: ossian-mcp
Install
Requires Node 20 or newer.
Claude Code, one line:
claude mcp add answerhatch -- npx -y answerhatch-mcpAny MCP client, config form:
{
"mcpServers": {
"answerhatch": {
"command": "npx",
"args": ["-y", "answerhatch-mcp"]
}
}
}From source, to hack on it:
git clone https://github.com/answerhatch/answerhatch-mcp
cd answerhatch-mcp
npm install
claude mcp add answerhatch -- node /absolute/path/to/answerhatch-mcp/index.jsYou need an AnswerHatch account. The agent can create one for you with answerhatch_signup, or sign up yourself at https://answerhatch.com (self-serve, a free trial) and use answerhatch_login. For non-interactive use, set ANSWERHATCH_TOKEN in the server's environment and skip both.
Use it
In your agent, just ask:
You: Sign me up and add cited answers to docs.example.com
Agent: (answerhatch_signup, then answerhatch_create_tenant)
Account created. Prove control of docs.example.com by any one of a DNS
record, a file, or a homepage meta tag. You have write access to the
repo, so I'll drop in the file:
docs.example.com/.well-known/answerhatch-challenge.txt -> ah-verify-...
(commits the file and deploys)
Agent: (answerhatch_start_crawl, then polls answerhatch_status)
Verified by file. Live. Paste this into your site:
<script async src="https://cdn.answerhatch.com/api/widget.js"
data-agency="..." data-key="..." data-env="prod"></script>
You: start a professional subscription
Agent: (answerhatch_subscribe)
Open this link to enter your card and start the 14-day trial:
https://checkout.stripe.com/...The tools enforce the order the API requires (register, prove control, then crawl) and each one tells the agent what to do next, so the agent drives the whole flow without you touching a console. Proof of control takes three forms, so the agent picks the one it can act on: a DNS TXT record, a file at /.well-known/answerhatch-challenge.txt, or a <meta name="answerhatch-verify"> tag on the homepage.
Tools
Tool | What it does |
| Create a new account and sign in, so onboarding runs without leaving the agent. Use |
| Sign in with email and password; holds the bearer token for the session. Skip it if |
| Register one domain and return three ways to prove control: a DNS TXT record, a well-known file, or a homepage meta tag. Any one is enough. The crawl does not start here. |
| Start the crawl once one proof is published. If none is visible yet, returns all three options again to retry. |
| Report lifecycle stage, pages crawled, and verification. When the site is live it returns the embed snippet. |
| Start a paid subscription and return a Stripe checkout link. The card is entered on Stripe's page, never in the agent. 14-day free trial. |
Security
The bearer token lives in memory for the session only. It is never written to disk, never logged, and it is scrubbed from tool output even if an API response tried to echo it back.
Links
Product and the live refusal demo: https://answerhatch.com
Pricing: https://answerhatch.com/pricing
License
MIT. See LICENSE.
Available Tools
4 toolsanswerhatch_create_tenantRegister a domainA
Register one domain and return its tenant id plus the DNS TXT record that proves the customer controls it. The crawl does not start here. Give the record to the user verbatim, wait for them to publish it, then call answerhatch_start_crawl. Call this once per site; if a crawl will not start, retry the crawl rather than registering again.
Inputs: domain (required), pages.
answerhatch_loginSign in to AnswerHatchA
Sign in and hold the bearer token for the rest of this session. Call this once before any other answerhatch tool. Skip it when the server was started with ANSWERHATCH_TOKEN set. This tool does not create accounts: sign up first at answerhatch.com/signup. Never print the password back to the user.
Inputs: email (required), password (required).
answerhatch_start_crawlStart the crawlA
Start the crawl for a registered tenant. Call it only after the TXT record from answerhatch_create_tenant is published. If the record is not visible yet the tool returns the record again with instructions to publish and retry: wait about a minute and call this tool again. The crawl is asynchronous, so poll answerhatch_status afterwards.
Inputs: tenant_id (required).
answerhatch_statusCheck tenant statusA
Report a tenant's lifecycle stage, worker phase, pages crawled and domain verification. Poll this every 20 to 30 seconds while a crawl runs. When the stage reaches live it also returns the embed snippet and the steps for pasting it into the site, which is the end of onboarding.
Inputs: tenant_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: authentication, domain registration, crawl initiation, and status polling. There is no overlap or ambiguity between them.
All tools follow a consistent 'answerhatch_<verb/noun>' pattern with lowercase snake_case, making the naming uniform and predictable.
With exactly 4 tools, the set is concise and well-scoped for the onboarding workflow it implements, fitting comfortably within the ideal range.
The tools cover the full lifecycle from authentication through domain verification, crawl execution, and final status reporting with embed snippet delivery. No essential operations are missing for the stated purpose.
Maintenance
Related MCP Connectors
Real-time fact-check, citation verification, and source-freshness for AI agents.
Your company's brain for AI agents. Cited, permission-aware knowledge across every system.
Create and improve live, shared interactive documents with your agent.
Build a RAG pipeline station by station and search your own documents with cited answers.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables document indexing and question answering with Retrieval-Augmented Generation, providing cited answers from user-supplied documents.-
- AlicenseAqualityBmaintenanceEnables agents to query an organization's own documents and receive cited answers, while also maintaining persistent memory across conversations.451 npm2Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to create verifiable, replayable citations, search private knowledge bases, and publish Markdown with verified citation markers.MIT
- AlicenseAqualityCmaintenanceEnables LLM hosts to perform grounded, cited retrieval and answer generation over your own documents using hybrid BM25 and dense search, with explicit refusal when answers are not supported by the sources.511 npmMIT