SettleGrid

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.

SettleGrid

The Settlement Layer for AI Agent Payments

Monetize any AI tool with 2 lines of code. Per-call billing, 15 protocols, built-in discovery.

npm npm MCP Registry Smithery MIT TypeScript

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


Quick Start

npm install @settlegrid/mcp
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 in under 50ms.

Or scaffold a complete project instantly:

npx create-settlegrid-tool

SettleGrid Dashboard

Why SettleGrid?

SettleGridStripe BillingNeverminedPaid.ai
Protocol support15 protocolsREST onlyx402 / DeFiMCP only
Real-time metering<50ms RedisBatch onlyOn-chainPer-call
Built-in discovery8+ registriesNoneNoneNone
Multi-hop settlementYesNoYesNo
Agent identity (KYA)YesNoNoNo
Budget enforcementYesNoNoNo
Outcome-based billingYesNoYesNo
Free tier (0% fees)YesNoNoNo
$1 minimum payoutYesNoNoNo
Open-source SDKYesNoYesNo
Fraud detectionYesYesNoNo

Discovery — Your Tools, Found Everywhere

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

ChannelHow it works
ShowcaseConsumers browse, search, and purchase credits
Discovery APIGET /api/v1/discover — programmatic search for directories & apps
MCP Discovery ServerAI agents find tools natively via MCP protocol
HTTP MCP EndpointRemote streamable HTTP transport for any MCP client
Official MCP RegistryThe canonical MCP server registry
Smithery6,000+ MCP server directory
Glama14,000+ MCP server directory
RSS FeedNew tools syndicated automatically

SettleGrid Showcase

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

6 Pricing Models

ModelBest forExample
Per-InvocationSearch, lookups, CRUD5¢/call
Per-TokenLLM wrappers, text processing$0.001/1K tokens
Per-ByteFile conversion, data export1¢/MB
Per-SecondVideo processing, ML inference2¢/second
TieredMulti-method toolsread 1¢, write 5¢
Outcome-BasedLead gen, data extraction25¢ on success

10 Payment Protocols

MCP · MPP (Stripe/Tempo) · x402 (Coinbase) · AP2 (Google) · Visa TAP · UCP (Google/Shopify) · ACP (OpenAI) · Mastercard Agent Pay · Circle Nanopayments · REST

Features

Billing & Metering

  • Sub-50ms Redis metering on every call
  • Budget enforcement — HTTP 402 when exceeded
  • Auto-refill credits via Stripe
  • Multi-hop atomic settlement across agent chains

Security & Compliance

  • 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

Developer Experience

  • sg.wrap() — one function, any handler
  • 6 pricing models configurable from dashboard
  • 1,017 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)

Pricing

TierPriceOps/monthTake Rate
Free$0 forever25,0000%
Starter$9/mo100,0005%
Growth$29/mo500,0005%
Scale$79/mo2,000,0005%

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

REST API Middleware

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' })
  })
}

Project Structure

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 MCP server templates
└── .mcp.json                  # MCP plugin config (Cursor, Claude)

Links

Websitesettlegrid.ai
Documentationsettlegrid.ai/docs
Discovery Guidesettlegrid.ai/learn/discovery
Handbooksettlegrid.ai/learn/handbook
API Referencesettlegrid.ai/api/openapi.json
Discovery APIsettlegrid.ai/api/v1/discover
RSS Feedsettlegrid.ai/api/feed
npm (SDK)@settlegrid/mcp
npm (Discovery)@settlegrid/discovery
MCP Registryio.github.lexwhiting/settlegrid-discovery
Support[email protected]

License

MIT © 2026 SettleGrid

相关服务器