GEO Inspector

io.github.Bigsupe55由 GitHub 账号 Bigsupe55 发布v0.1.2更新于 Oct 24, 2026

Inspect a site's AI-search readiness: AI crawler access, llms.txt, schema markup, meta directives

概览

AI 生成的概览

本地 MCP 服务器,让助手检查网站的 AI 搜索就绪度:AI 爬虫规则、llms.txt、结构化标记与 meta 指令。

可以做什么
  • 检查 robots.txt 中 GPTBot、ClaudeBot、CCBot 等 AI 爬虫的允许或屏蔽规则,以及站点地图
  • 检查网站是否发布 llms.txt 或 llms-full.txt,以及是否符合规范
  • 检测页面中的 JSON-LD 区块、schema.org 类型清单与 sameAs 消歧信息
  • 读取 meta robots 标签(含 noai 与针对特定爬虫的标签)以及 X-Robots-Tag 响应头
  • 每项检查都返回可读摘要和结构化 JSON
适用场景
适合想了解某个网站是否允许 AI 爬虫抓取或引用其内容,以及它在 AI 搜索与引用方面配置得如何时使用。更适合对少量页面做快速检查,而非大规模抓取。
运行要求
以 stdio 本地进程运行,通过 npx 启动 npm 包 geo-inspector-mcp,需要 Node.js 和网络访问。未声明需要账号、API 密钥或环境变量。
安装前请注意
每个工具都会通过网络抓取目标站点,因此你询问的网址会从本机发起请求。结果反映站点当前状态,可能随时变化;README 说明演示输出由真实运行重新生成。不涉及凭据或写入操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 GEO Inspector,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

geo-inspector-mcp

[npm] [MCP Registry] [license]

An MCP server that gives an AI assistant four tools for inspecting how a website presents itself to other AI systems: which AI crawlers it blocks, whether it publishes llms.txt, what schema markup it ships, and how its indexing directives are set.

Published on npm and listed in the official MCP Registry as io.github.Bigsupe55/geo-inspector-mcp. Works with Claude Code, Claude Desktop, or any MCP client.

[geo-inspector-mcp inspecting three sites]

Tool output above is verbatim from a live run against nytimes.com, docs.anthropic.com, and stripe.com, captured by driving the built server over MCP stdio. The sitemap list is collapsed to a count; nothing else is edited. Regenerate with npm run demo.

Why this exists

AI assistants are becoming a primary way people find and cite content, and sites signal their intent to AI systems through a handful of plumbing files: robots.txt rules for AI crawlers, the emerging llms.txt standard, schema.org structured data, and meta directives. Checking those by hand means juggling curl, a robots.txt parser in your head, and view-source. This server turns all of it into questions you can just ask Claude.

Quickstart

bash
npx -y geo-inspector-mcp

That is the whole install. Point your MCP client at it:

Claude Code

bash
claude mcp add geo-inspector -- npx -y geo-inspector-mcp

Claude Desktop (claude_desktop_config.json)

json
{  "mcpServers": {    "geo-inspector": {      "command": "npx",      "args": ["-y", "geo-inspector-mcp"]    }  }}

Then ask things like: "Which AI crawlers does nytimes.com block?" or "Does stripe.com publish an llms.txt?"

Tools

ToolWhat it checksExample question
check_robots_txtWhich AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, CCBot, and more) are allowed or blocked, per RFC 9309, plus sitemaps"Can OpenAI train on example.com?"
fetch_llms_txtPresence and spec-validity of /llms.txt and /llms-full.txt"Has example.com adopted llms.txt?"
detect_schema_markupJSON-LD blocks, schema.org type inventory, AI-relevant types, sameAs disambiguation"What structured data does this article have?"
check_meta_directivesMeta robots tags (including noai/noimageai and bot-specific tags) and X-Robots-Tag headers"Is this page indexable?"

Every tool returns a readable summary plus structured JSON (structuredContent) for programmatic use.

How it is built

The interesting part of an MCP server is not the tools, it is the contract around them.

Every tool returns two things. A readable summary for the model to reason over, and structuredContent for anything downstream that needs to compute. That split is what lets a separate scoring layer (ai-visibility-audit) derive deterministic numbers from the same call the model is reading in prose. The model never has to parse its own tool output back into data.

Parsers are pure functions. robots.txt, llms.txt, JSON-LD, and meta directives each parse in isolation, with no I/O and fixture-based tests. A tool handler is a thin shell: fetch, parse, format. This is what makes the behavior testable without a network, and it is why the test suite runs with no fixtures to record and no site to hit.

All network access goes through one helper. A single fetch path with a size cap, a redirect limit, and a timeout. An MCP server runs inside someone else's agent loop with their API budget attached, so a tool that can hang or stream an unbounded response is a tool that can ruin a session. One choke point means those limits cannot be forgotten in a new tool.

robots.txt parsing follows RFC 9309 rather than a regex, because the whole value of the tool is being right about whether a specific crawler is allowed. Longest-match wins, user-agent groups merge, and Allow can override a broader Disallow.

Development

bash
npm installnpm test        # vitest unit + integration testsnpm run build   # bundle to dist/npx @modelcontextprotocol/inspector node dist/index.js   # poke it interactively

Parsers are pure functions with fixture-based tests; all HTTP goes through one capped, redirect-limited fetch helper.

Regenerating the demo GIF

bash
npm run demo          # build, capture, render

Or the steps separately:

bash
npm run demo:capture  # drives the built server over MCP stdio, writes scripts/demo-data.jsonnpm run demo:render   # renders docs/demo.gif from that JSON (needs: pip install Pillow)

demo-data.json is committed, so rendering works offline and the GIF's claims stay auditable: diff it against what the tools return today. The capture script mocks nothing, so if a site changes its robots.txt, the demo changes with it. The only authored text in the pipeline is the human question line; the sites to inspect are configured at the top of scripts/capture-demo.mjs.

Related

ai-visibility-audit is the workflow layer on top of this one: it orchestrates these four tools into a scored, client-ready report. This repo is the raw tools.

License

MIT, see LICENSE.

来源:README.md,提交 3bdfd5d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分