Skip to main content
Glama

AnswerRail MCP Server (answerrail-mcp)

npm version Glama MCP Score License: MIT

Official Model Context Protocol (MCP) server for AnswerRail (https://answerrail.com) — available both as a local stdio server (npx -y answerrail-mcp) and a zero-install Remote Streamable HTTP server (https://answerrail.com/mcp).

Audit any domain or URL directly inside Claude Desktop, Claude Code, Cursor, Windsurf, or any MCP client for:

  • AI Crawler Readiness (PerplexityBot, OAI-SearchBot, GPTBot, ClaudeBot, Google-Extended)

  • 25,000-Token RAG Truncation Cliff detection & dropped pricing token diagnostics

  • /llms.txt & /llms-full.txt Documentation Index verification & compilation

  • Google Lighthouse 13.5 agentic-browsing (/.well-known/ai-catalog.json ARD 1.0 schema & robots.txt Agentmap: directive)

  • Byte-0 AST De-bloating (converting heavy React/Next.js/Shopify DOM bloat into clean GitHub-Flavored Markdown)


Tools Included (v1.0.2)

1. audit_ai_readiness

Perform a live, read-only diagnostic audit of a website URL or domain for AI search readiness, measuring HTML token weight against the 25,000-token RAG truncation limit, /llms.txt manifest availability, Google Lighthouse 13.5 /.well-known/ai-catalog.json (ARD 1.0) conformance, robots.txt Agentmap: directives, and Schema.org JSON-LD entities.

  • Input: url (string, e.g. https://stripe.com/pricing or example.com)

2. generate_ai_manifests

Generate ready-to-deploy /llms.txt Markdown and Google Lighthouse 13.5 /.well-known/ai-catalog.json (ARD 1.0) JSON manifests for a target domain, plus robots.txt Agentmap: and HTML <head> discovery <link> tags.

  • Input: domain (string, e.g. example.com)

3. extract_byte0_markdown

Fetch a live web page, strip React/Next.js hydration chunks, Shopify Liquid DOM bloat, scripts, and navigation cruft, and return clean Byte-0 GitHub-Flavored Markdown (GFM) alongside before/after token telemetry.

  • Input: url (string, e.g. https://example.com/pricing)

4. query_truncation_benchmark

Query empirical data from the 2026 50-Site B2B SaaS Pricing Page Truncation Benchmark (87% publish /llms.txt, yet 74% still truncate /pricing HTML past 25,000 tokens).

  • Input: domain (optional string, e.g. vercel.com, supabase.com, or omit for full cohort summary)


Related MCP server: geo-inspector-mcp

Quickstart & Installation

Option A: Zero-Install Remote HTTP Server (https://answerrail.com/mcp)

Claude Code CLI:

claude mcp add --transport http answerrail https://answerrail.com/mcp

Cursor / Windsurf / Remote HTTP Clients:

{
  "mcpServers": {
    "answerrail": {
      "url": "https://answerrail.com/mcp"
    }
  }
}

Option B: Local Stdio Server (npx -y answerrail-mcp)

Claude Desktop (claude_desktop_config.json) / Cursor / Windsurf:

{
  "mcpServers": {
    "answerrail": {
      "command": "npx",
      "args": ["-y", "answerrail-mcp"]
    }
  }
}

License: MIT

Available Tools

4 tools
audit_ai_readinessAudit Website AI Crawler & Lighthouse 13.5 ReadinessA
Read-onlyIdempotent

Audits a website URL or domain for AI crawler access (GPTBot, OAI-SearchBot, PerplexityBot, ClaudeBot), 25,000-token HTML RAG truncation, /llms.txt presence, Schema.org JSON-LD entities, and Google Lighthouse 13.5 Agentic Browsing (/.well-known/ai-catalog.json ARD 1.0). Use this tool first when diagnosing why a site is omitted or misquoted by ChatGPT, Perplexity, or Claude. Do not use this tool to extract full-page Markdown content (use extract_byte0_markdown instead) or to generate static manifest files (use generate_ai_manifests instead). Read-only network check; requires no API key.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesFully qualified HTTPS URL or bare domain name to audit (e.g., "https://stripe.com/pricing" or "example.com"). Defaults to HTTPS if scheme is omitted.

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds useful operational context (no API key required, read-only network check) and enumerates the exact inspection surfaces. It stops short of describing rate limits, failure modes, or return shape, so it improves on but does not fully exploit the behavioral space.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the exclusion guidance follows cleanly in a compact three-sentence block. It is somewhat acronym-dense (ARD 1.0, OAI-SearchBot, /.well-known paths), which increases reading cost without strictly earning its place for tool selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should ideally hint at what the audit returns; it lists the checked dimensions but not the report structure. Still, for a one-parameter read-only diagnostic it gives enough for correct invocation, with return-shape disclosure the only notable gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single url parameter, so the schema already documents accepted forms and the HTTPS-default behavior. The description adds no parameter syntax beyond what the schema provides; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (audits) and resource (website URL/domain) and enumerates the exact checks performed (GPTBot access, RAG truncation, llms.txt, JSON-LD, Lighthouse agentic browsing). An agent can distinguish this from the sibling extraction and manifest-generation tools without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use this tool first when diagnosing why a site is omitted or misquoted by ChatGPT/Perplexity/Claude, and names two concrete exclusions with the correct alternatives (extract_byte0_markdown, generate_ai_manifests). When-to-use, when-not-to-use, and alternatives are all present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

extract_byte0_markdownExtract Clean Byte-0 Markdown & Schema Tables from URLA
Read-onlyIdempotent

Strips React/Next.js hydration scripts, Shopify Liquid/WordPress DOM bloat, and inline SVGs/CSS from any URL, returning clean Byte-0 GitHub-Flavored Markdown (GFM) with front-loaded Schema.org tables. Use this tool when you need to read a web page or pricing table inside an LLM context window without exceeding the 25,000-token truncation limit. Do not use this tool if you only need a diagnostic readiness score or robots.txt check (use audit_ai_readiness instead). Read-only HTTP extraction; requires no API key.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesFully qualified URL of the web page to convert into Byte-0 Markdown (e.g., "https://vercel.com/pricing").

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds real context beyond that — HTTP-only extraction, no API key required, output shape (GFM with front-loaded Schema.org tables) and the token-limit rationale. It stops short of error behavior or failure modes, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each doing distinct work: what it produces, when to use it, and when not to. The output format and scope are front-loaded before the alternative-tool exclusion.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description must explain the return value — and it does, specifying clean GFM with Schema.org tables and the 25k-token truncation bound. Combined with the no-API-key and read-only notes, an agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Single parameter with 100% schema description coverage, including an example URL, so the schema does the heavy lifting. The description adds no further parameter syntax or constraints, making the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (strips/extracts) and resource (clean Byte-0 GFM Markdown from a URL), and enumerates exactly what is removed (hydration scripts, Liquid/WordPress bloat, inline SVG/CSS). It also names the sibling it is not (audit_ai_readiness), so an agent can discriminate without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives both sides: use it when you need to read a page or pricing table inside an LLM context window without hitting the 25,000-token truncation limit, and explicitly says not to use it for a readiness score or robots.txt check, routing to audit_ai_readiness. When/when-not/alternative are all present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

generate_ai_manifestsGenerate /llms.txt & Lighthouse 13.5 ai-catalog.json ManifestsA
Read-onlyIdempotent

Compiles ready-to-save /llms.txt documentation index and Google Lighthouse 13.5 /.well-known/ai-catalog.json (ARD 1.0) JSON manifests from a live domain, plus HTML and robots.txt Agentmap snippets. Use this tool when a developer wants to remediate missing discovery manifests identified by audit_ai_readiness. Do not use this tool for general web scraping (use extract_byte0_markdown instead). Read-only synthesis; requires no API key and does not modify remote servers.

ParametersJSON Schema
NameRequiredDescriptionDefault
domainYesTarget domain name or root URL to generate manifests for (e.g., "example.com" or "https://example.com").

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, openWorldHint, idempotentHint and destructiveHint=false, so the safety profile is covered structurally. The description still adds useful context beyond that: no API key required, remote servers are not modified, and the output is 'ready-to-save' (i.e., synthesized content rather than a write). It does not describe return format or caching, so it is not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, purpose front-loaded in the first, with usage and exclusion rules following. Information-dense with no filler, though the opening sentence carrying three artifact types is heavy and slightly harder to scan than a bulleted form.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-param, read-only synthesis tool with strong annotation coverage, the description covers what is produced, when to use it, alternatives, and auth requirements. The only gap is what the caller receives (raw file contents vs. counts/paths), though 'ready-to-save' partially implies this and no output schema exists to cover it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter (domain) and schema coverage is 100%, with the schema itself documenting accepted forms ('example.com' or 'https://example.com'). The description adds 'from a live domain', reinforcing that it is fetched live rather than passed as content, but adds no syntax beyond the schema. Baseline 3 for high coverage applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb (compiles) and concrete resources: /llms.txt, Lighthouse 13.5 /.well-known/ai-catalog.json (ARD 1.0), plus HTML head and robots.txt snippets. The sibling differentiation is explicit (extract_byte0_markdown for scraping, audit_ai_readiness as the upstream detector).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States exactly when to use it ('remediate missing discovery manifests identified by audit_ai_readiness') and when not to ('general web scraping (use extract_byte0_markdown instead)'). Both the trigger condition and the alternative tool are named, leaving nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

query_truncation_benchmarkQuery 2026 50-Site SaaS AI Truncation & /llms.txt BenchmarkA
Read-onlyIdempotent

Retrieves empirical benchmark telemetry from the 2026 50-Site SaaS & E-Commerce AI Truncation Study (measuring raw HTML token weight, 25,000-token Perplexity/ChatGPT cutoff truncation, visible price omission, /llms.txt adoption, and Lighthouse 13.5 ARD 1.0 adoption). Use this tool when comparing a site against industry peers (such as Stripe, Vercel, Datadog, or Shopify) or answering research questions about the Static /llms.txt Paradox. Do not use this tool to run a live scan on an arbitrary unbenchmarked URL (use audit_ai_readiness instead). Read-only benchmark lookup; requires no API key.

ParametersJSON Schema
NameRequiredDescriptionDefault
domainNoOptional domain name (e.g., "stripe.com" or "vercel.com") to filter the benchmark study. Omit or pass empty string to return the full 50-site statistical summary.

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new operational context: it is a static benchmark lookup requiring no API key, so no auth or rate-limit surprises. It stops short of describing result shape or pagination, but with annotations carrying the safety burden this is a solid addition.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the retrieval purpose, followed by usage and exclusion guidance, so an agent scanning the first clause gets the gist. The long parenthetical of measured metrics is dense but earned, since it explains what the benchmark actually contains. Slightly heavy, but every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description does useful work by enumerating the measurable fields (token weight, truncation cutoff, price omission, /llms.txt adoption, Lighthouse ARD), which tells the agent what comes back. It does not describe response structure or how the 50-site summary is organized, leaving a small gap for a data-retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Single optional parameter with 100% schema description coverage; the schema already explains that omitting 'domain' returns the full 50-site summary, so baseline 3 applies. The description only loosely reinforces this by referencing peer comparison, adding no syntax, format, or canonical-domain details beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (retrieves) and resource (empirical benchmark telemetry from the 2026 50-Site SaaS & E-Commerce AI Truncation Study) and enumerates the measured dimensions, so an agent knows exactly what data lives behind it. It also distinguishes itself from siblings by name (audit_ai_readiness) and scope (study data vs. live scan).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ('comparing a site against industry peers', 'research questions about the Static /llms.txt Paradox') and explicit when-not-to-use ('Do not use this tool to run a live scan on an arbitrary unbenchmarked URL'), with the correct alternative named. This is the full when/when-not/alternative pattern.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 4 tool updatesv0.1.0
    • First observedaudit_ai_readiness
    • First observedextract_byte0_markdown
    • First observedgenerate_ai_manifests
    • First observedquery_truncation_benchmark

TDQS

A4.4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct action (audit, generate, extract, query) and the descriptions explicitly cross-reference when to use alternatives, e.g. 'do not use this tool... use extract_byte0_markdown instead.' An agent can unambiguously select the right tool.

Naming Consistency5/5

All four names follow a consistent snake_case verb_noun pattern: audit_ai_readiness, generate_ai_manifests, extract_byte0_markdown, query_truncation_benchmark. The branded 'byte0' infix is a minor quirk but the pattern holds throughout.

Tool Count4/5

Four tools is on the lean side but each is clearly scoped and earns its place: diagnostic, synthesis, extraction, and benchmark lookup. Reasonable for the narrow AI-readiness domain, though slightly thin.

Completeness4/5

The surface covers the core lifecycle: audit readiness, generate remediation manifests, extract content, and compare against benchmarks. Minor gaps exist (e.g. validating post-remediation or re-running checks), but core workflows are covered without dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Open-source MCP server that audits websites for AI search readiness, providing deterministic scoring (0-100) and prioritized fix lists for metrics like JSON-LD, llms.txt, heading hierarchy, and AI crawler access.
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to audit URLs or raw HTML for SEO, AEO, and GEO performance, generate llms.txt manifests, and check the tool version via MCP tools.
    1
    MIT