llms.txt Generator

Create, validate and audit llms.txt, incl. the Lighthouse Agentic Browsing check.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
100%
命名品質
95%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(1)

  • LOWTool 'check_lighthouse_agentic_browsing' name length outside 3-30 range在 check_lighthouse_agentic_browsing 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~2,037Token(工具定義)
~4.2 KB典型回應大小
中等的注意力影響(128k 上下文的 1.59%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "llms-txt": {
      "url": "https://www.llms-txt-generator.de/api/mcp"
    }
  }
}

遠端端點

https://www.llms-txt-generator.de/api/mcpstreamable-http

它能做什麼

工具清單

工具(4)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢generate_llms_txt(url, maxPages)

Use this when the user wants a new llms.txt file for a public website they name. Reads up to 15 public HTML pages of that one domain (start page, XML sitemap, internal links) and returns a ready-to-publish llms.txt draft in Markdown, plus a format validation score, the Lighthouse "Agentic Browsing" result, the status of any llms.txt already published on the site, and the URLs that were left out with the reason. Deterministic: no language model is involved, every title and description is taken from the pages themselves. Limitations: honors robots.txt and stops if the start page is disallowed; does not render JavaScript, does not log in, and does not follow links to other domains; one request can take up to about a minute. Do not use this to fetch arbitrary page content or for sites the user only mentions in passing. Result messages are in German.

輸入結構描述

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "The website, as a bare domain or full URL, e.g. \"example.com\" or \"https://www.example.com\"."
    },
    "maxPages": {
      "type": "integer",
      "minimum": 3,
      "maximum": 25,
      "description": "Upper limit of pages to read. Default 15."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "llmsText": {
      "type": "string",
      "description": "The complete llms.txt draft in Markdown."
    },
    "finalUrl": {
      "type": "string"
    },
    "siteName": {
      "type": "string"
    },
    "pageCount": {
      "type": "integer"
    },
    "maxPages": {
      "type": "integer"
    },
    "limitReached": {
      "type": "boolean",
      "description": "true when the page limit stopped the crawl."
    },
    "validation": {
      "type": "object",
      "description": "Format check against the llmstxt.org proposal.",
      "properties": {
        "valid": {
          "type": "boolean",
          "description": "true when no error-level finding exists."
        },
        "score": {
          "type": "number",
          "minimum": 0,
          "maximum": 100
        },
        "byteSize": {
          "type": "number"
        },
        "links": {
          "type": "number"
        },
        "issues": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "severity": {
                "type": "string",
                "enum": [
                  "error",
                  "warning",
                  "info"
                ]
              },
              "message": {
                "type": "string"
              },
              "line": {
                "type": "number"
              }
            },
            "required": [
              "code",
              "severity",
              "message"
            ]
          }
        }
      },
      "required": [
        "valid",
        "score",
        "issues"
      ]
    },
    "lighthouse": {
      "type": "object",
      "description": "Result of the three Lighthouse 13.3 \"llms-txt\" audit rules.",
      "properties": {
        "passed": {
          "type": "boolean"
        },
        "checks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "enum": [
                  "h1",
                  "links",
                  "length"
                ]
              },
              "label": {
                "type": "string"
              },
              "passed": {
                "type": "boolean"
              },
              "failureMessage": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "passed"
            ]
          }
        }
      },
      "required": [
        "passed",
        "checks"
      ]
    },
    "publishedFile": {
      "type": "object",
      "description": "Status of the llms.txt currently published on the site."
    },
    "excluded": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "reason"
        ]
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "llmsText",
    "finalUrl",
    "pageCount",
    "limitReached",
    "validation",
    "lighthouse",
    "excluded",
    "warnings"
  ]
}
🟢validate_llms_txt(content, expectedHostname)

Use this when the user pastes the text of an llms.txt file and wants it checked or improved. Checks the text against the llmstxt.org format proposal: H1 title, summary blockquote, H2 sections, absolute Markdown links, duplicates, links to other domains, file size and update date. Returns a 0-100 score, findings with severity and line number, and the Lighthouse "Agentic Browsing" result. Works only on the text provided; it does not fetch anything from the internet. Finding messages are in German.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200000,
      "description": "The full text of the llms.txt file."
    },
    "expectedHostname": {
      "type": "string",
      "maxLength": 253,
      "description": "Optional hostname of the website, e.g. \"www.example.com\". Enables the warning for links to other domains."
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "validation": {
      "type": "object",
      "description": "Format check against the llmstxt.org proposal.",
      "properties": {
        "valid": {
          "type": "boolean",
          "description": "true when no error-level finding exists."
        },
        "score": {
          "type": "number",
          "minimum": 0,
          "maximum": 100
        },
        "byteSize": {
          "type": "number"
        },
        "links": {
          "type": "number"
        },
        "issues": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "severity": {
                "type": "string",
                "enum": [
                  "error",
                  "warning",
                  "info"
                ]
              },
              "message": {
                "type": "string"
              },
              "line": {
                "type": "number"
              }
            },
            "required": [
              "code",
              "severity",
              "message"
            ]
          }
        }
      },
      "required": [
        "valid",
        "score",
        "issues"
      ]
    },
    "lighthouse": {
      "type": "object",
      "description": "Result of the three Lighthouse 13.3 \"llms-txt\" audit rules.",
      "properties": {
        "passed": {
          "type": "boolean"
        },
        "checks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "enum": [
                  "h1",
                  "links",
                  "length"
                ]
              },
              "label": {
                "type": "string"
              },
              "passed": {
                "type": "boolean"
              },
              "failureMessage": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "passed"
            ]
          }
        }
      },
      "required": [
        "passed",
        "checks"
      ]
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "validation",
    "lighthouse"
  ]
}
🟢check_published_llms_txt(url)

Use this when the user asks whether a website already has an llms.txt, whether it is served correctly, or why PageSpeed Insights / Lighthouse flags it. Requests exactly one URL, https://<domain>/llms.txt, and reports HTTP status, content type, redirects, the file content, the format validation and the Lighthouse result. Does not crawl other pages and does not change anything on the site. Messages are in German.

輸入結構描述

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "Domain or any URL of the website, e.g. \"example.com\"."
    }
  },
  "required": [
    "url"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "status": {
      "type": "integer"
    },
    "contentType": {
      "type": "string"
    },
    "redirects": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "content": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "validation": {
      "type": "object",
      "description": "Format check against the llmstxt.org proposal.",
      "properties": {
        "valid": {
          "type": "boolean",
          "description": "true when no error-level finding exists."
        },
        "score": {
          "type": "number",
          "minimum": 0,
          "maximum": 100
        },
        "byteSize": {
          "type": "number"
        },
        "links": {
          "type": "number"
        },
        "issues": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "severity": {
                "type": "string",
                "enum": [
                  "error",
                  "warning",
                  "info"
                ]
              },
              "message": {
                "type": "string"
              },
              "line": {
                "type": "number"
              }
            },
            "required": [
              "code",
              "severity",
              "message"
            ]
          }
        }
      },
      "required": [
        "valid",
        "score",
        "issues"
      ]
    },
    "lighthouse": {
      "type": "object",
      "description": "Result of the three Lighthouse 13.3 \"llms-txt\" audit rules.",
      "properties": {
        "passed": {
          "type": "boolean"
        },
        "checks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "enum": [
                  "h1",
                  "links",
                  "length"
                ]
              },
              "label": {
                "type": "string"
              },
              "passed": {
                "type": "boolean"
              },
              "failureMessage": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "passed"
            ]
          }
        }
      },
      "required": [
        "passed",
        "checks"
      ]
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "url",
    "found",
    "status"
  ]
}
🟢check_lighthouse_agentic_browsing(content)

Use this when the user only wants to know whether a given llms.txt text passes the Lighthouse 13.3 "Agentic Browsing" audit (llms-txt). Applies exactly its three rules: an H1 exists, at least one Markdown link, more than 50 characters. On failure it returns Lighthouse's original message. Works only on the text provided and does not fetch anything. For a full format check use validate_llms_txt.

輸入結構描述

{
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "maxLength": 200000,
      "description": "The text of the llms.txt file."
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "passed": {
      "type": "boolean"
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "enum": [
              "h1",
              "links",
              "length"
            ]
          },
          "label": {
            "type": "string"
          },
          "passed": {
            "type": "boolean"
          },
          "failureMessage": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "passed"
        ]
      }
    },
    "note": {
      "type": "string"
    },
    "reference": {
      "type": "string"
    }
  },
  "required": [
    "passed",
    "checks"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具
已驗證未記錄版本4 個工具