Skip to content
MCP server

Locus

Metered pay-per-use APIs and tools for agents, billed to credits per user

Install
Pricing
Freemium
Platforms
API, Web, CLI
Runs
Remotely
Version
0.3.40
Listing updated
3 days ago

About Locus

Locus is a freemium MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

Locus sits between an app and a catalogue of paid third-party APIs. Each call reaches the provider and is charged to the customer's balance at the provider's base cost plus whatever markup the platform sets, so a business deals with one vendor and one bill instead of many. The site cites 17,900+ tools from 75 providers.

Control features are the main draw: each agent gets allowed tools, a per-call maximum and a run budget, and a blocked call never reaches the provider. Keys come in three kinds (secret, publishable and per-agent), webhooks are signed and retried up to seven times, and retries with the same idempotency key never charge twice. Teams can also add their own HTTP API with a price so it bills through the same ledger.

It can be used through a TypeScript SDK, a hosted MCP endpoint, a CLI or a sandbox with test keys. The registry entry points at the credits MCP endpoint for web research, data lookups and other metered calls.

Install

Run in a terminal

claude mcp add --transport http locus https://api.paywithlocus.com/api/credits/mcp

Add to Settings → Connectors → Add custom connector

https://api.paywithlocus.com/api/credits/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "locus": {
      "url": "https://api.paywithlocus.com/api/credits/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "locus": {
      "type": "http",
      "url": "https://api.paywithlocus.com/api/credits/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "locus": {
      "serverUrl": "https://api.paywithlocus.com/api/credits/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "locus": {
      "type": "http",
      "url": "https://api.paywithlocus.com/api/credits/mcp"
    }
  }
}

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

get_locus_guide
Returns Locus's own guide.

What it does

Per-user billing
Charges each customer's balance at base cost plus a markup you set.
Spend limits per agent
Allowed tools, a maximum per call and a run budget are checked before the provider is called.
Three key types
Secret, publishable and per-agent keys each reach only what they need.
Bring your own APIs
Adds an HTTP service with a credential and price so it bills through the same ledger.
Signed webhooks
Balance, top-up, burn and refund events are signed and retried up to 7 times.
Sandbox
Test keys make no provider calls and no charges.

Good for

  • Resell metered API access inside an AI product with your own markup
  • Give each team or agent a budget and see who spent what
  • Offer research or sales-data lookups billed per question or per lead
  • Price an internal API for agents next to the public catalogue

Pricing

Freemium, from $20 a month

Free $0; Plus $20/mo; Enterprise $200/mo; Enterprise Plus $1,000/mo; usage billed in credits (1,000 credits = $1).

Prices change. Check paywithlocus.com before you buy.

Locus FAQ

How are calls priced?

Each call bills its published price or usage basis, and quotes are free. 1,000 credits equal $1.

What are the plans?

Free is $0 per month with up to 5 tool calls per minute. Plus is $20, Enterprise $200 and Enterprise Plus $1,000 per month, with included usage credits and higher rate limits.

Can a runaway agent overspend?

Each agent can be given allowed tools, a per-call maximum and a run budget, and a blocked call never reaches the provider.

Is there a test mode?

Yes, a sandbox with test keys that has no providers and no charges.

Is Locus free?

Locus has a free plan, with paid plans for more usage or features. Paid plans start at $20 a month.

How do I add Locus to Claude Code?

Run this command in your terminal: claude mcp add --transport http locus https://api.paywithlocus.com/api/credits/mcp

What are the best alternatives to Locus?

The closest alternatives to Locus are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Locus

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools