OpenTags®

Developers

Check any page or AI answer from one API call.

Send a URL or a piece of text and get back a score, the problems and the fixes. Use it over plain HTTP, or plug the MCP server into Claude, ChatGPT or your editor so your own assistant can call every tool. No sign-up, no API key.

Base URL https://opentags.io · MCP https://opentags.io/api/mcp

Request
curl -X POST https://opentags.io/api/tools/ai-crawler-check \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
Response, shortened
{
  "data": {
    "page": { "url": "https://example.com/", "title": "Example Domain" },
    "result": {
      "score": 80,
      "bots": [
        { "bot": "GPTBot", "owner": "OpenAI", "allowed": true },
        { "bot": "ClaudeBot", "owner": "Anthropic", "allowed": true },
        …
      ],
      "robotsFound": true,
      "llmsFound": false
    }
  },
  "sig": "3f9c…"
}
On this page

Quickstart

Three steps from nothing to a checked answer. This example runs the AI Citation Checker on text from your own model.

1

There is nothing to set up

No account, no key, no SDK. Every endpoint is public and free. Call it from your server, a script or a notebook.

2

Send the text or URL

curl -X POST https://opentags.io/api/tools/citation-check \
  -H "Content-Type: application/json" \
  -d '{"text":"Remote work raised output 13% (https://news.stanford.edu/...)."}'

Citation checks open every link, so give the request up to 60 seconds. URL tools usually answer in one or two.

3

Act on the result

Every tool returns a 0–100 score and a list of findings with plain-English notes. Use them to block, fix or publish:

Node.js
const { score, links } = data.result;
const bad = links.filter((l) => l.verdict === "broken");

if (bad.length) {
  // Ask your model to fix or drop these sources before you publish.
  console.log("Fix these:", bad.map((l) => `${l.url}: ${l.notes.join(" ")}`));
} else if (score >= 80) {
  publish(answer);
}

Authentication

None. OpenTags has no API keys, accounts or tokens, and never will for the free tools. Requests are limited per IP address instead (see Limits).

SurfaceAuthCORS
MCP serverNone. Pick “No authentication” if your client asks.*
Markdown endpointNone*
REST endpointsNoneSame-origin only. Call them from your server.
OpenTags never calls an AI model for you. Your assistant does the thinking; OpenTags fetches and checks the pages. That is why nothing needs a key.

MCP server

Connect your AI

OpenTags is a remote Model Context Protocol server with 11 tools. Add it once and your assistant can check its own citations, read pages as Markdown, audit share previews and AI crawler access, and make short links and QR codes.

Endpointhttps://opentags.io/api/mcp
TransportStreamable HTTP, POST only. Stateless: no session id, no SSE stream.
Protocol versions2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05
Capabilitiestools (resources/list and prompts/list return empty lists)
Registry nameio.opentags/opentags

Add it to your client

Settings → Connectors → Add custom connector

Name:  OpenTags
URL:   https://opentags.io/api/mcp
Auth:  none

Then ask, for example: “Research the 4-day work week with sources, then check the citations with OpenTags before you answer.” More prompts on the connector page.

JSON-RPC

Clients and SDKs handle this for you. To talk to the server directly, send one JSON-RPC 2.0 message per POST, or a batch of up to 20 as an array. Responses are plain JSON; notifications get an empty 202.

curl https://opentags.io/api/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": { "name": "page_to_markdown", "arguments": { "url": "https://example.com" } }
  }'

Response

content holds a readable version for the model (plus a PNG for qr_code). structuredContent holds the same result as JSON for programs.

Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [{ "type": "text", "text": "# Example Domain\n\nSource: https://example.com/ …" }],
    "structuredContent": { "title": "Example Domain", "url": "https://example.com/", "words": 38, "tokens": 52, "notes": [] }
  }
}

When a tool can’t finish

A missing page or a timeout is not a protocol error. You get a normal result with isError: true and a message the assistant can pass on:

Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [{ "type": "text", "text": "We couldn't find that website. Check the address and try again." }],
    "isError": true
  }
}
MethodResult
initializeEchoes your protocolVersion if supported, else the newest. Server info: opentags 3.0.0.
tools/listEvery tool with name, title, description, inputSchema and annotations.
tools/call{ name, arguments } → content + structuredContent.
ping{}

Tools

Generated from the server’s own definitions, so it always matches what tools/list returns. Tools that take a URL accept a bare domain too.

ToolTypeWhat it does
check_citationsread-onlyCheck citations
verify_answerread-onlyVerify an answer
page_to_markdownread-onlyRead page as Markdown
audit_share_previewread-onlyAudit share preview
generate_meta_tagsread-onlyGenerate meta tags
check_ai_crawlersread-onlyCheck AI crawler access
generate_llms_txtread-onlyGenerate llms.txt
draft_social_postsread-onlyDraft social posts
shorten_urlcreates dataShorten a link
link_statsread-onlyShort link stats
qr_coderead-onlyMake a QR code

Check citations

check_citations

Verifies the sources in a piece of text, such as an AI answer. Opens every link (up to 15) and reports whether each page exists, whether quoted text and figures actually appear on it, and the page sentence that best matches the claim. Also looks up DOIs, arXiv ids and titled paper references in Crossref and arXiv to catch made-up papers. Use it before presenting sourced answers.

Arguments

NameTypeDescription
textrequiredstringThe text to check, including its links (markdown or bare URLs). Up to 20,000 characters.

ReturnsScore, counts per verdict, one entry per link (status, HTTP code, quotes found, best-matching sentence, verdict, notes), paper lookups and unlinked quotes. Opens up to 15 links.

Verify an answer

verify_answer

Checks an AI answer claim by claim. Breaks the text into factual claims, opens the source each one cites (or searches for one when none is given), and marks each claim supported, unverified or contradicted, with the page sentence that settles it. Use it to fact-check a sourced answer against what its sources actually say.

Arguments

NameTypeDescription
textrequiredstringThe AI answer to verify, including its links. Up to 20,000 characters.

ReturnsScore, counts of supported / unverified / contradicted claims, and per claim its source, verdict, the settling sentence and notes.

Read page as Markdown

page_to_markdown

Fetches a public web page and returns its main content as clean Markdown (no navigation, ads or scripts), with an approximate token count. Set whole_site to true to read up to 25 pages from the site's sitemap as one document.

Arguments

NameTypeDescription
urlrequiredstringPublic page URL, e.g. https://example.com/blog/post
whole_sitebooleanRead up to 25 pages of the site instead of one page. Slower. Default: false.

ReturnsThe Markdown as text (up to 120,000 characters), plus title, url, words, tokens and notes. whole_site reads up to 25 pages from the sitemap.

Audit share preview

audit_share_preview

Scores how a URL will look when shared on Google, X, LinkedIn, Facebook, Slack and others: title, description, Open Graph image, Twitter card, canonical and more, with plain-English fixes.

Arguments

NameTypeDescription
urlrequiredstringPublic page URL, e.g. https://example.com/blog/post

Returnsurl, score, the card platforms will show, checks with status pass / warn / fail and a plain-English detail, and a previewUrl on opentags.io.

Generate meta tags

generate_meta_tags

Reads a page and returns a correctly sized title, meta description, Open Graph and Twitter tags, keywords and ready-to-paste HTML.

Arguments

NameTypeDescription
urlrequiredstringPublic page URL, e.g. https://example.com/blog/post

Returnstitle (≤60), description (≤155), ogTitle, ogDescription, keywords, notes, ready-to-paste html and the current tags under before.

Check AI crawler access

check_ai_crawlers

Checks a site's robots.txt for 10 AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and more), looks for llms.txt and noindex, and returns an AI-readiness score with fixes.

Arguments

NameTypeDescription
urlrequiredstringPublic page URL, e.g. https://example.com/blog/post

ReturnsAI-readiness score, an entry per crawler (bot, owner, purpose, allowed, rule), robotsFound, llmsFound, noindex, checks and a robots.txt snippet.

Generate llms.txt

generate_llms_txt

Builds a draft llms.txt file for a site from its homepage title, description and links.

Arguments

NameTypeDescription
urlrequiredstringPublic page URL, e.g. https://example.com/blog/post

Returnsmarkdown (the draft llms.txt), notes and linkCount.

Draft social posts

draft_social_posts

Turns a page into draft LinkedIn, X and WhatsApp posts plus hashtags, as a starting point to rewrite.

Arguments

NameTypeDescription
urlrequiredstringPublic page URL, e.g. https://example.com/blog/post

Returnslinkedin, xSingle, xThread (array), whatsapp and hashtags.

Shorten a link

shorten_url

Creates a free, permanent OpenTags short link (opentags.io/AbC123) for a URL, optionally adding UTM tracking tags. Returns the short link and its stats code. Only create links the user asked for.

Arguments

NameTypeDescription
urlrequiredstringThe long URL to shorten.
utm_sourcestringOptional, e.g. linkedin
utm_mediumstringOptional, e.g. social
utm_campaignstringOptional, e.g. spring-launch
utm_contentstringOptional

ReturnsshortUrl, shortCode, longUrl and statsCode. Creates a permanent public link, so call it only when the user asks. 10 a minute.

Make a QR code

qr_code

Makes a QR code image for a URL or short text. Returns a PNG image and the SVG source.

Arguments

NameTypeDescription
textrequiredstringThe URL or text to encode (up to 1,000 characters).
darkstringOptional dark colour as hex, e.g. #0b1215
lightstringOptional light colour as hex, e.g. #ffffff

Returnstext, svg and pngBase64, plus the 512×512 PNG as an image block in content.

HTTP API

Run a tool

POST/api/tools/{tool}

Runs any tool from opentags.io/tools and returns its result.

Parameters

NameTypeDescription
toolstringPath, requiredOne of the tool ids below.
urlstringBodyThe page to check. Required for every tool except citation-check and verify.
textstringBodyThe text to check, up to 20,000 characters. Required for citation-check and verify.
mode"page" | "site"Body, optionalpage-to-markdown only. site reads up to 25 pages from the sitemap.
Tool idInputWhat it does
citation-checktextCatch made-up sources in ChatGPT, Claude and Gemini answers
verifytextDoes the source actually back up what your AI claims?
page-to-markdownurlAny web page as clean Markdown for your AI
ai-crawler-checkurlCan ChatGPT, Claude and Perplexity read your site?
llms-txturlHelp AI agents find your best pages
meta-writerurlFixed-length titles and descriptions in one click
social-posturlReady-to-post drafts for any link

The response is { data: { page, result }, sig }. result has the same shape as the matching MCP tool’s structuredContent, page describes the page that was read (text tools leave it out), and sig lets you save the result as a shareable report.

Reading the result

Every result has a 0–100 score. The findings use a small set of statuses:

ToolStatusMeaningWhat to do
Citation checkverifiedThe page exists and backs the quote or figure.Keep it.
checkThe page exists but the claim isn’t clearly on it.Read the evidence sentence.
brokenDead link, wrong page or made-up paper.Replace or drop the source.
VerifysupportedThe source says what the claim says.Keep it.
unverifiedNo source found that settles it.Add a source or soften the claim.
contradictedThe source says something different.Fix the claim.
Share preview, AI crawlerspassLooks right.Nothing.
warnWorks, but could be better.Follow the detail text.
failMissing or broken.Fix before you share.

Citation and verify results also include a fixPrompt: a ready-made message you can send back to your model to correct the answer.

Page metadata

GET/api/meta-fetcher?url={url}

The tags that decide how a link looks when shared: title, description, canonical, Open Graph, Twitter card, favicon, JSON-LD types and headings.

Parameters

NameTypeDescription
urlstringQuery, requiredThe page to read, URL-encoded.
curl
curl "https://opentags.io/api/meta-fetcher?url=https%3A%2F%2Fstripe.com"
Response, shortened
{
  "data": {
    "url": "https://stripe.com/",
    "status": 200,
    "title": "Stripe | Financial Infrastructure to Grow Your Revenue",
    "description": "…",
    "canonical": "https://stripe.com/",
    "og": { "title": "…", "image": "https://…", "siteName": "Stripe", … },
    "twitter": { "card": "summary_large_image", "site": "@stripe", … },
    "jsonLdTypes": ["Organization"],
    "tagCount": 42
  },
  "sig": "…"
}

Markdown endpoint

GET/md/{url}

Put opentags.io/md/ in front of any public URL to get its main content as clean Markdown, without menus, ads or scripts. Built for agents and “fetch this URL” features. Send Accept: application/json to get { url, title, tokens, words, markdown } instead.

curl -L https://opentags.io/md/https://example.com/blog/post

The server tidies the double slash in https:// with a 308 first, so let your client follow redirects (curl -L; fetch and requests do it already). The scheme is optional and query strings are passed through.

Response headerValue
X-Source-UrlFinal URL read, after redirects.
X-Token-EstimateApproximate LLM token count.
Cache-Control5 minutes in browsers, 1 hour at the edge.
Access-Control-Allow-Origin*

Shareable reports

POST/api/reports

Saves a result as a public page at /r/{id} for 90 days. Only results OpenTags produced can be saved: send back data and sig exactly as you got them.

Parameters

NameTypeDescription
kindstringBody, requiredshare-preview, citation-check, verify, ai-crawler-check, meta-writer, social-post, llms-txt. Use share-preview for meta-fetcher results.
dataobjectBody, requiredThe data object from the tool response, unchanged.
sigstringBody, requiredThe sig from the same response.
Response
{ "data": { "id": "k3J9xQ2mPa", "url": "https://opentags.io/r/k3J9xQ2mPa", "expiresAt": "2027-02-25T12:00:00.000Z" } }

Reference

Errors

REST endpoints return { "error": "…" } with a matching status. The Markdown endpoint returns the message as plain text. Messages are written for people, so you can show them as they are.

HTTPMeaning
400Missing or invalid URL, private address, unsupported port or malformed JSON.
404Unknown tool or short code, or the website’s domain doesn’t exist.
405GET sent to the MCP endpoint. Use POST.
413Report too large to save (about 300 KB).
422The target page returned an HTTP error, so there was nothing to convert.
429Rate limit reached. Wait a minute.
500Something went wrong on our side. Retry once.
502We couldn’t reach the website.
503Short links or reports aren’t switched on for this deployment.
504The website took longer than 8 seconds.
508More than 5 redirects.
MCP codeHTTPMeaning
-32700400Body is not valid JSON.
-32600400 / 200Not JSON-RPC 2.0, or an empty batch or one over 20.
-32601200Unknown method.
-32602200Unknown tool.
-32000429Rate limit reached.

Retry 429 and 5xx after a pause. Don’t retry other 4xx errors: fix the input first.

Limits and retention

LimitValue
All /api/* and /md/* traffic100 requests a minute per IP, at the network edge
MCP server60 requests a minute; shorten_url 10 new links a minute
Run a tool20 a minute; citation-check and verify 6 a minute
Page metadata, Markdown30 a minute each
Short links, reports10 a minute each
Request timeUp to 60 seconds (30 for Markdown)
Text input20,000 characters
Pages fetchedPublic http(s) only, ports 80, 443, 8080, 8443; 8 s timeout; 5 redirects; first 2 MB; no JavaScript
Tool inputs and resultsNot stored
Short linksKept permanently, with click counts
Shared reportsDeleted after 90 days
CachingPage metadata 5 minutes, Markdown 1 hour

Per-endpoint limits are counted per server instance, so treat them as a ceiling rather than an exact quota.

OpenAPI and support

The HTTP API is described in an OpenAPI 3.1 document at /openapi.json, so you can import it into Postman or generate a client. The MCP server is listed in the MCP Registry as io.opentags/opentags.

Building something bigger, or found a bug? Reach out through the about page. OpenTags is free while it grows.