Skip to main content
Glama
answerhatch-mcp

answerhatch-mcp

Official
by answerhatch

AnswerHatch MCP

License: MIT Node 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-mcp

Any 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.js

You 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

answerhatch_signup

Create a new account and sign in, so onboarding runs without leaving the agent. Use answerhatch_login instead if you already have one.

answerhatch_login

Sign in with email and password; holds the bearer token for the session. Skip it if ANSWERHATCH_TOKEN is set.

answerhatch_create_tenant

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.

answerhatch_start_crawl

Start the crawl once one proof is published. If none is visible yet, returns all three options again to retry.

answerhatch_status

Report lifecycle stage, pages crawled, and verification. When the site is live it returns the embed snippet.

answerhatch_subscribe

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.

License

MIT. See LICENSE.

Available Tools

4 tools
answerhatch_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

    A4.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: authentication, domain registration, crawl initiation, and status polling. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    All tools follow a consistent 'answerhatch_<verb/noun>' pattern with lowercase snake_case, making the naming uniform and predictable.

    Tool Count5/5

    With exactly 4 tools, the set is concise and well-scoped for the onboarding workflow it implements, fitting comfortably within the ideal range.

    Completeness5/5

    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

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables document indexing and question answering with Retrieval-Augmented Generation, providing cited answers from user-supplied documents.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables agents to query an organization's own documents and receive cited answers, while also maintaining persistent memory across conversations.
      4
      51 npm
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to create verifiable, replayable citations, search private knowledge bases, and publish Markdown with verified citation markers.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables 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.
      5
      11 npm
      MIT