Pyfile LLM & Data API
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).
claude mcp add --transport http pyfile-llm-data-api 'https://pyfile-agent.taile3ff35.ts.net:8443/mcp'
{
"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.
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
| Path | Method | Price | Description |
|---|---|---|---|
/mcp | POST | 10 sats | MCP streamable-HTTP, tool chat |
/v1/chat/completions | POST | 10-50 sats | OpenAI-compatible chat |
/v1/models | GET | free | model list |
/.well-known/l402.json | GET | free | L402 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.