Claude Code MCP
SandBase in Claude Code. One command, six tools.
The SandBase CLI adds an MCP server to Claude Code after you approve a browser sign-in. Your agent can then discover, inspect and run models and APIs from one balance.
Set up in three steps.
Needs Node.js 20 or newer. You approve the sign-in in your browser. Never paste an API key into the chat.
Connect Claude Code
Run npx -y @sandbaseai/cli@latest connect --client claude-code. It opens the browser to sign in, then adds a SandBase entry to the Claude Code configuration.
- Node.js 20+
- Browser sign-in
- Keeps a backup of changed config
Start a new session and check
Restart Claude Code so the sandbase tools load. claude mcp list should show sandbase as connected, and sandbase doctor makes one real round trip.
- claude mcp list
- sandbase doctor
Ask for a task
Describe the result you want, such as comparing two creators. The agent discovers a matching API, inspects its price, then runs it.
- Discovery is free
- Only runs cost money
The six tools.
These are the MCP tools the SandBase server gives Claude Code. Only sandbase_run spends from your balance.
- sandbase_discover
- Search models and APIs by query, type and vendor. Read-only and free.
- sandbase_inspect
- Get one tool's input schema, price and a ready-to-run template. Read-only and free.
- sandbase_run
- Execute a model or API. This is the only tool that is billed, and failed calls are not charged.
- sandbase_run_get
- Check an async run, such as an image or video job, by run ID.
- sandbase_runs and sandbase_account
- List recent calls with status and cost, and read your balance in USD.
- Large results
- In the tested runs, results too large for the context went to a file instead. Ask the agent to save big outputs and read them with a script.
Related.
Questions people ask.
How do I add an MCP server to Claude Code?
For SandBase, run npx -y @sandbaseai/cli@latest connect --client claude-code, approve the sign-in in your browser, and start a new Claude Code session. Verify with claude mcp list.
Does it cost anything to connect?
No. Connecting, discovering and inspecting are free. Only sandbase_run is billed, at the price the inspect step shows, and failed calls are not charged.
Where is my key stored?
The Claude Code entry holds no key. The bridge reads its credential from a separate local file under ~/.sandbase, written with owner-only permissions in the tested setup.
How do I remove it?
Run the CLI's unregister command for the client: sandbase unregister --client claude-code.
Give Claude Code the catalog.
Connect once, then ask for the data or media you need.
SandBase is not affiliated with Anthropic. Claude is a trademark of its owner. Commands were checked against the SandBase CLI on 2026-11-24 (UTC) and may change.
