Autarcho
Pay-per-token open-model inference through an OpenAI-style API, settled in USDC on Solana
Autarcho is a paid MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.
- Pricing
- Paid
- Platforms
- API, CLI, Self-hosted
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add autarcho-mcp --env AUTARCHO_API_KEY='<AUTARCHO_API_KEY>' -- npx -y autarcho-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"autarcho-mcp": {
"command": "npx",
"args": [
"-y",
"autarcho-mcp"
],
"env": {
"AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"autarcho-mcp": {
"command": "npx",
"args": [
"-y",
"autarcho-mcp"
],
"env": {
"AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"autarcho-mcp": {
"command": "npx",
"args": [
"-y",
"autarcho-mcp"
],
"env": {
"AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"autarcho-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"autarcho-mcp"
],
"env": {
"AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add autarcho-mcp --env AUTARCHO_API_KEY='<AUTARCHO_API_KEY>' -- npx -y autarcho-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.autarcho-mcp]
command = "npx"
args = ["-y", "autarcho-mcp"]
env = { AUTARCHO_API_KEY = "<AUTARCHO_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"autarcho-mcp": {
"command": "npx",
"args": [
"-y",
"autarcho-mcp"
],
"env": {
"AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "autarcho-mcp": { "command": "npx", "args": [ "-y", "autarcho-mcp" ], "env": { "AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>" } } } }Or run: gemini mcp add -s user -e AUTARCHO_API_KEY='<AUTARCHO_API_KEY>' autarcho-mcp npx -- -y autarcho-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "autarcho-mcp": { "command": "npx", "args": [ "-y", "autarcho-mcp" ], "env": { "AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "autarcho-mcp": { "command": "npx", "args": [ "-y", "autarcho-mcp" ], "env": { "AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "autarcho-mcp": { "command": "npx", "args": [ "-y", "autarcho-mcp" ], "env": { "AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "autarcho-mcp": { "command": "npx", "args": [ "-y", "autarcho-mcp" ], "env": { "AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "autarcho-mcp": { "command": "npx", "args": [ "-y", "autarcho-mcp" ], "env": { "AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "autarcho-mcp": { "command": "npx", "args": [ "-y", "autarcho-mcp" ], "env": { "AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "autarcho-mcp": { "command": "npx", "args": [ "-y", "autarcho-mcp" ], "env": { "AUTARCHO_API_KEY": "<AUTARCHO_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
AUTARCHO_API_KEYA key with credit on it, made with `ak_$(openssl rand -hex 32)` and funded with USDC on Solana.RequiredAUTARCHO_BASE_URLOverride the API base URL, for a local gateway.
About Autarcho
The README and API reference describe Autarcho as a gateway to open-weight language models that bills by generated token rather than by subscription. Requests use the OpenAI chat-completions format, so existing clients such as LiteLLM and LangChain can be pointed at its base URL with a key that carries USDC credit. The docs note that the API is a deliberate subset: parameters outside the supported table are refused with an error naming the parameter instead of being silently ignored.
Keys are generated locally in the format ak_ followed by 64 hex characters and funded on Solana, with no sign-up or identity check. Per-token prices can be read from a public endpoint, and a request can be rejected before any charge if its price exceeds a caller-set limit. Models are addressed by a stable hash or an alias, and the docs explain that a model owner can repoint an alias.
The MCP server, published on npm as autarcho-mcp, exposes list_models, get_price, chat_completion and get_balance to agent clients and caps a single completion at 2048 generated tokens. It is aimed at developers and agent builders who want pay-as-you-go access to open models without account setup.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 4 tools read data; 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- list_modelsName suggests: reads
- Lists the models available to the configured key.
- get_priceName suggests: reads
- Returns the price per generated token for a model.
- chat_completion
- Runs one chat completion, capped at 2048 generated tokens.
- get_balanceName suggests: reads
- Returns the credit balance on the configured key.
What it does
- OpenAI-compatible chat API
- Accepts the OpenAI chat-completions shape, so existing SDKs and frameworks can target its base URL.
- Per-token USDC billing
- Charges for generated tokens only, with prompt tokens reported as unbilled, paid in USDC on Solana.
- Price cap per request
- A max_price_per_token_micro_usdc field refuses a call before anything is charged if the price is too high.
- Streaming and tool calls
- Supports server-sent event streaming and OpenAI-style function calling, with complete tool calls delivered at stream end.
- Structured JSON output
- Offers json_object and json_schema response formats, with generation stopping on its own for finite schemas.
- MCP server for agents
- The autarcho-mcp npm package gives agent clients model listing, pricing, completion and balance tools.
Good for
- Calling open-weight language models from an existing OpenAI-style application without a monthly subscription
- Tracking inference cost per token by reading the published price endpoint
- Giving an AI agent pay-per-use access to models via an MCP server
- Generating structured JSON output from open models with a supplied schema
- Pinning a model by hash so results stay tied to the same model over time
Pricing
Paid
Pay per generated token in USDC on Solana; no subscription tier is described.
Prices change. Check autarcho.com before you buy.
Autarcho FAQ
How do I get an API key?
Keys are generated by the client in the format ak_ followed by 64 hex characters, then funded with credit. The docs say there is no sign-up form, email verification or identity check.
What happens if a model is unavailable?
A model that has left the verified catalogue returns 404 model_not_found, which is final. A model with no operator online returns 503, which the docs say is worth retrying with backoff.
Are prompt tokens charged?
No. The usage field reports prompt_tokens as zero because the prompt is not billed; only generated tokens are charged.
Which parameters are not supported?
stop, seed, logprobs, n above 1, and image or audio content return a 400 unsupported_parameter error rather than being ignored.
Is Autarcho free?
No. Autarcho is a paid product.
How do I add Autarcho to Claude Code?
Run this command in your terminal: claude mcp add autarcho-mcp --env AUTARCHO_API_KEY='<AUTARCHO_API_KEY>' -- npx -y autarcho-mcp
What are the best alternatives to Autarcho?
The closest alternatives to Autarcho are Synap, JarvisClaw — AI Gateway & API Marketplace, uplinkswitch, APEX AI, LLM, PDF, QR, JSON & Media MCP and Unrestrictable.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
