SettleGrid

by lexwhiting

Not rated
GitHub

About

Per-call billing and monetization for MCP servers — add usage metering, API key validation, and Stripe payouts to any MCP tool with 2 lines of code.

Details

Author
lexwhiting
Categories
Developer Tools, Other, API

Setup

Install SettleGrid in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/lexwhiting/settlegrid

Follow the installation instructions in the repository README, then restart your MCP client.

The Settlement Layer for AI Agent Payments

Monetize any AI tool with 2 lines of code. Per-call billing, 14 agent payment protocols brokered or tracked, built-in discovery.

Website·Docs·Showcase·1,017 Servers·Discovery Guide·Handbook

import { settlegrid } from '@settlegrid/mcp' const sg = settlegrid.init({ toolSlug: 'my-tool', pricing: { defaultCostCents: 5 }, }) const billedHandler = sg.wrap(myHandler)

Every call validates the consumer's API key, checks their credit balance, executes your function, and meters usage — all with a single Redis balance check on the hot path.

Or scaffold a complete project instantly:

Discovery — Your Tools, Found Everywhere

SettleGrid doesn't just bill — it distributes. Every active tool is automatically discoverable across:

{ "mcpServers": { "settlegrid-discovery": { "command": "npx", "args": ["@settlegrid/discovery"] } } }

The@settlegrid/mcpSDK adds native billing to any Model Context Protocol (MCP) tool server and provides a REST middleware for any HTTP service. On top of that, the hosted Smart Proxy atsettlegrid.ai/api/proxy/{slug}brokers payments across agent payment protocols and tracks emerging specs as they mature.

9 brokered by the Smart Proxy(production or pending GA): MCP · x402 (Coinbase) · Stripe MPP · AP2 (Google) · ACP (OpenAI) · UCP (Google/Shopify) · Visa TAP · Mastercard Verifiable Intent · Circle Nanopayments

2 detection-adapter-only: L402 (Bitcoin Lightning) · KYAPay (Skyfire)

3 tracked as emerging: ACTP (Alipay's Agentic Commerce Trust Protocol) · EMVCo agent payments · DRAIN (Bittensor Subnet 58)

- A single Redis balance check on the hot path, on every call
- Budget enforcement — HTTP 402 when exceeded
- Auto-refill credits via Stripe
- Multi-hop settlement across agent chains — each hop settled as it completes

- Agent identity (KYA) with trust scoring
- Fraud detection (12 real-time signals)
- IP allowlisting (CIDR support)
- HMAC-SHA256 webhook signatures
- Audit logging with CSV export (SOC 2 ready)
- Sandbox/test mode

- sg.wrap()— one function, any handler
- 6 pricing models configurable from dashboard
- 97 open-source templates with billing pre-wired
- CLI scaffolder:npx create-settlegrid-tool
- Discovery tab with badge generator, checklist, API URLs
- Consumer reviews with developer responses
- Quality gates + Verified badge for activated tools
- Proactive monitoring (onboarding drip, quality alerts, monthly summary)

$1 minimum payout — the lowest in the industry. Stripe Connect Express for instant payouts.

For non-MCP services (Express, Next.js, Hono, etc.):

import { settlegridMiddleware } from '@settlegrid/mcp' const withBilling = settlegridMiddleware({ toolSlug: 'my-api', costCents: 5, }) export async function GET(request: Request) { return withBilling(request, async () => { return Response.json({ data: 'hello' }) }) }
settlegrid/ ├── apps/web/ # Next.js 15 platform (settlegrid.ai) ├── packages/mcp/ # @settlegrid/mcp SDK ├── packages/discovery-server/ # @settlegrid/discovery MCP server ├── packages/create-tool/ # npx create-settlegrid-tool CLI ├── open-source-servers/ # 1,017 indexed MCP servers └── .mcp.json # MCP plugin config (Cursor, Claude)

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Reverse proxy that adds Stripe billing and x402 crypto payments to any MCP server

One remote MCP server for 500+ production APIs — Stripe, HubSpot, Postgres, Gmail, and more. OAuth and API key auth, credential management, and a CLI.

Discover and call hundreds of paid APIs from any MCP client using prepaid USDC credits — no wallet, no gas, no per-provider SDKs.

Integrate AI tools and agents with Cashfree's Payment Gateway, Payouts, and SecureID APIs.

The Pine Labs Online MCP Server implements the Model Context Protocol (MCP) to enable seamless integration between Pine Labs’ online payment APIs and AI tools. It allows AI assistants to perform Pine Labs Online API operations, empowering developers to build intelligent, AI-driven payment applications with ease.

Domain-agnostic x402 capability chassis: 26 pay-per-call MCP capabilities (market data, on-chain, security, dev tools) with USDC micropayments on Base — no API key required.

37 MCP servers for agentic commerce — Stripe ACP, x402, AP2, Google UCP, plus 14 Brazilian payment rails. ~480 tools.

One shared context layer for AI agents and humans — live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

The MCP server for Bitrix24 provides AI assistants with structured access to the Bitrix24 API. It delivers up-to-date method descriptions, parameters, and valid values, allowing assistants to work with precise data instead of guesswork. This reduces code errors and accelerates Bitrix24 integration development.

Tool platform by IBM to build, test and deploy tools for any data source

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.