Pyfile LLM & Data API

Official registry Search and web

Pay-per-call LLM chat plus data tools: DNS, crypto, Base gas, Wikipedia. x402 USDC or Lightning.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http pyfile-llm-data-api 'https://pyfile-agent.taile3ff35.ts.net:8443/mcp'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "pyfile-llm-data-api": {
            "type": "http",
            "url": "https://pyfile-agent.taile3ff35.ts.net:8443/mcp"
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. l402-llm-mcp
  2. What it is
  3. Endpoints
  4. Run
  5. Discovery

l402-llm-mcp

Pay-per-query LLM access over Lightning (L402), exposed as an MCP server.

Website: pyfile-toolkit.github.io — overview, pricing and discovery across x402, Lightning (L402) and Nano.

What it is

A single Node.js server that serves two things:

  • MCP endpoint POST /mcp (streamable HTTP, tool: chat)
  • OpenAI-compatible POST /v1/chat/completions

Payment is enforced by the L402 protocol: every request returns a Lightning invoice (10 sats short, 50 sats long). Models are proxied to a free LLM backend (gemini-3.6-flash, gpt-oss-120b).

Endpoints

PathMethodPriceDescription
/mcpPOST10 satsMCP streamable-HTTP, tool chat
/v1/chat/completionsPOST10-50 satsOpenAI-compatible chat
/v1/modelsGETfreemodel list
/.well-known/l402.jsonGETfreeL402 manifest

Run

export LNBOT_API_KEY=... WALLET_ID=...
node server.js

Discovery

Listed in the 402 Index and 402.pub (Nostr kind 31402).

Frequently asked questions

What is Pyfile LLM & Data API?

Pay-per-call LLM chat plus data tools: DNS, crypto, Base gas, Wikipedia. x402 USDC or Lightning.

How do I install Pyfile LLM & Data API?

It runs as a remote server. In Claude Code: claude mcp add --transport http pyfile-llm-data-api 'https://pyfile-agent.taile3ff35.ts.net:8443/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Pyfile LLM & Data API need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is Pyfile LLM & Data API open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains Pyfile LLM & Data API?

It is published by pyfile-toolkit. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.