MCP Connector

Spendplane Remote MCP Server

Connect Claude, Cursor, Windsurf, or ChatGPT directly to Spendplane over Streamable HTTP so AI assistants can inspect prompts for leaks, estimate AI routing costs, and simulate reversible agent redaction after a one-click sign-in with Google or GitHub.

Spendplane MCP connector on Glama

Remote Endpoint (Streamable HTTP)

Paste this URL into Claude Connectors, ChatGPT Developer Mode, or any MCP-compatible client:

https://api.spendplane.com/mcp

Server discovery manifest: https://spendplane.com/.well-known/mcp.json

Cursor / Windsurf / MCP JSON

{
  "mcpServers": {
    "spendplane": {
      "url": "https://api.spendplane.com/mcp",
      "headers": {
        "Authorization": "Bearer sp_your_api_key"
      }
    }
  }
}

Or run locally via npx: npx @spendplane/mcp

Gemini CLI

gemini mcp add --transport http spendplane https://api.spendplane.com/mcp

Or add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "spendplane": {
      "httpUrl": "https://api.spendplane.com/mcp",
      "timeout": 30000
    }
  }
}

Antigravity (AGY)

# Official npm plugin
npx -y @spendplane/mcp

Or configure in ~/.gemini/antigravity/config/mcp.json:

{
  "mcpServers": {
    "spendplane": {
      "command": "npx",
      "args": ["-y", "@spendplane/mcp"],
      "env": {
        "SPENDPLANE_API_KEY": "sp_your_api_key"
      }
    }
  }
}

Lovable (Chat Connectors)

Add Spendplane as a custom MCP server so Lovable can scan for leaked keys and estimate AI costs while building:

  1. Open Lovable → Connectors → Add custom → MCP server
  2. Name: Spendplane
  3. URL: https://api.spendplane.com/mcp
  4. Select Direct connection and save

Replit Agent

Connect Spendplane as a workspace MCP server so Replit Agent can audit prompts and compare LLM pricing:

  1. Open Replit → Integrations → Add custom
  2. Choose Add personal/workspace MCP server
  3. Endpoint: https://api.spendplane.com/mcp
  4. Save to enable across your Replit apps

Available Public Tools

scan_text_for_ai_leaks

Statelessly scan prompt text, transcripts, or tool JSON for API keys, bearer tokens, emails, IPs, SSNs, cards, and custom terms.

estimate_ai_workload_cost

Calculate monthly AI spend and hybrid local/budget/premium savings across budget, balanced, or deadline routing preferences.

compare_llm_pricing

Fetch live per-1M input/output token rates and context lengths from Spendplane's routing catalog (0% BYOK markup).

simulate_reversible_agent_redaction

Test run-scoped placeholders, strict per-tool/field restoration allowlists, and cross-run reference rejection.

get_spendplane_architecture_guide

Retrieve authoritative pricing, endpoint URLs, and setup instructions for Gateway, AI Safe Apps, and Customer Portal.

Directory Submission Checklist
  • Protocol: MCP Streamable HTTP (`2025-06-18` / `2025-03-26`) at `https://api.spendplane.com/mcp`
  • Read-only annotations declared (`readOnlyHint: true`, `destructiveHint: false`) on all public discovery tools
  • Verified documentation, privacy policy (`/privacy`), and terms (`/terms`) published on `spendplane.com`