tizee
MCP Servertizeepublic

llms txt server

The llms-txt-server provides a standardized interface for LLMs to interact with websites that support the llms.txt protocol.

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

The llms-txt-server provides a standardized interface for LLMs to interact with websites that support the llms.txt protocol.

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

llms-txt-server

A Model Context Protocol (MCP) server for fetching and managing llms.txt files from websites for Large Language Models.

Overview

The llms-txt-server provides a standardized interface for LLMs to interact with websites that support the llms.txt protocol.

The llms.txt format is a standardized way for websites to provide content optimized for large language models, similar to robots.txt for web crawlers. This server helps LLMs discover, fetch, and process llms.txt files from websites, with fallback to webpage conversion when llms.txt isn't available.

Features

  • ✅ Check if a website supports llms.txt
  • 📋 List known websites with llms.txt support
  • 🔄 Refresh sites list from external sources
  • 📥 Fetch llms.txt content with caching
  • 📄 Convert webpages to Markdown when llms.txt isn't available
  • 🔌 Full MCP integration with Claude Desktop

Installation

Prerequisites

  • Python 3.11 or higher

Install from source

# Clone the repository
git clone  llms-txt-server
cd llms-txt-server

# Install the package
pip install -e .

Usage

Running the server

# Start the server directly
llms-txt-server

# Or via the MCP CLI
mcp run src/llms_txt_server/server.py

Installing in Claude Desktop

mcp install src/llms_txt_server/server.py

Available Tools

ToolDescription
list_llms_websitesList all known websites that support llms.txt
refresh_sites_listRefresh the sites list from external sources
check_llms_support_toolCheck if a website supports llms.txt
get_llms_txtGet llms.txt content from a website
convert_page_to_mdConvert a webpage to Markdown

Prompts

PromptDescription
fetch_urlCreate a prompt to fetch a URL that prefers domain's llms.txt if available

How it Works

  1. The server maintains a cached list of websites known to support llms.txt
  2. When a URL is requested, it first checks if the site supports llms.txt
  3. If supported, it fetches the llms.txt content (with caching)
  4. If not supported, it falls back to converting the webpage to Markdown
  5. The server periodically refreshes its list from external sources

Configuration

You can configure the server using environment variables:

  • LOG_LEVEL: Set logging level (default: "DEBUG")
  • CACHE_DIR: Set cache directory (default: "~/.cache/llms-txt-server")

Development

Setup Development Environment

npx @modelcontextprotocol/inspector uv run llms-txt-server

Code Style

This project uses Ruff for formatting and linting. See pyproject.toml for configuration.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Quick Start

1

Clone the repository

git clone https://github.com/tizee/llms-txt-server
2

Install dependencies

cd llms-txt-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownertizee
Repollms-txt-server
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation