farebox-mcp
Crypto-native LLM gateway with OpenAI-compatible API and per-token USDC payments on Solana via the x402 protocol.
README
Farebox Platform
Crypto-native LLM gateway. OpenAI-compatible API with per-token USDC payments on Solana. No subscriptions, no invoices — machine-native billing via the x402 protocol.
Architecture
This monorepo contains all platform services:
| Package | Description |
|---|---|
artifacts/farebox |
Web frontend — farebox.fun |
artifacts/api-server |
REST API + x402 payment gateway |
lib/api-spec |
OpenAPI specification |
lib/api-zod |
Zod validation schemas |
lib/api-client-react |
React query hooks |
lib/db |
Drizzle ORM schema + migrations |
packages/farebox-mcp |
MCP server — also on npm |
Quickstart
Prerequisites: Node.js ≥ 18, pnpm ≥ 9
git clone https://github.com/fareboxfun/platform.git
cd platform
pnpm install
Start the API server:
cp artifacts/api-server/.env.example artifacts/api-server/.env
# fill in required variables
pnpm --filter @workspace/api-server run dev
Start the web frontend:
cp artifacts/farebox/.env.example artifacts/farebox/.env
pnpm --filter @workspace/farebox run dev
MCP Server
Connect Claude Desktop or Cursor to all 36+ Farebox models in two lines of config:
npx farebox-mcp
Full setup guide → farebox.fun/mcp
npm package → npmjs.com/package/farebox-mcp
x402 — Keyless Machine Payments
Farebox implements x402, an open standard for HTTP micropayments. AI agents can call the API without an account — the server returns a 402 Payment Required with a USDC quote, the agent signs the payment on Solana, and retries. No invoices, no OAuth, no human in the loop.
Try it:
curl https://api.farebox.fun/.well-known/x402
Links
- Website: farebox.fun
- API docs: farebox.fun/docs
- Status: farebox.fun/status
- npm: npmjs.com/package/farebox-mcp
- X: @Farebox_
Contributing
See CONTRIBUTING.md. Issues and PRs welcome.
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.