l

llms.txt 浏览器

@thedaviddias/mcp-llms-txt-explorer
0 Stars 382 次浏览 thedaviddias 更新于 2026-08-23

一种帮助发现和分析实施了llms.txt标准的网站的服务器,允许用户检查网站是否具有llms.txt文件,并列出已知的合规网站。

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "llms-txt-explorer": {
      "args": [
        "-y",
        "@thedaviddias/mcp-llms-txt-explorer"
      ],
      "command": "npx"
    }
  }
}

可用工具 (2 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

check_website 1 个参数 需填 1 项

Check if a website has llms.txt files

必填参数:url

list_websites 2 个参数

List known websites with llms.txt files

该工具无需必填参数,直接调用即可

服务介绍

MCP LLMS.txt Explorer

smithery badge

这是一个用于探索带有 llms.txt 文件的网站的 Model Context Protocol 服务器。该服务器帮助您发现和分析实现了 llms.txt 标准的网站。

功能

资源

  • 检查网站是否有 llms.txt 和 llms-full.txt 文件
  • 解析并验证 llms.txt 文件内容
  • 获取关于合规网站的结构化数据

工具

  • check_website - 检查网站是否有 llms.txt 文件
    • 输入:域名 URL
    • 输出:文件位置和验证状态
  • list_websites - 列出已知带有 llms.txt 文件的网站
    • 输出:关于合规网站的结构化数据
    • 支持按文件类型(llms.txt/llms-full.txt)过滤

开发

安装依赖:

pnpm install

构建服务器:

pnpm run build

开发时自动重建:

pnpm run watch

安装

通过 Smithery 安装

要通过 Smithery 自动为 Claude Desktop 安装 mcp-llms-txt-explorer:

npx -y @smithery/cli install @thedaviddias/mcp-llms-txt-explorer --client claude

手动安装

要使用此服务器:

# Clone the repository
git clone https://github.com/thedaviddias/mcp-llms-txt-explorer.git
cd mcp-llms-txt-explorer

# Install dependencies
pnpm install

# Build the server
pnpm run build

使用 Claude Desktop 配置

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上:~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上:%APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "llms-txt-explorer": {
      "command": "/path/to/llms-txt-explorer/build/index.js"
    }
  }
}

对于 npx 使用,您可以使用:

{
  "mcpServers": {
    "llms-txt-explorer": {
      "command": "npx",
      "args": ["-y", "@thedaviddias/mcp-llms-txt-explorer"]
    }
  }
}

调试

由于 MCP 服务器通过 stdio 进行通信,调试可能会比较困难。我们建议使用 MCP Inspector,它可以通过包脚本获得:

pnpm run inspector

Inspector 将提供一个 URL,以便您在浏览器中访问调试工具。

许可证

该项目采用 MIT 许可证——详情请参阅 LICENSE 文件。

相关 MCP 服务