
MCP-Billing
OAuth 2.1 + usage-based Stripe billing for MCP servers
About MCP-Billing
MCP-Billing is a comprehensive, self-hosted boilerplate designed for developers building secure, scalable APIs and server-based applications. It integrates full OAuth 2.1 with PKCE for robust authentication, API key management with zero-downtime rotation, and usage-based billing powered by Stripe. Its modular architecture includes 7 core modules and over 300 tests, ensuring reliability and flexibility for different project needs. The open-source metering core available on npm allows for transparent customization and integration, while the included Stripe billing simplifies monetization strategies for SaaS providers. Suitable for teams seeking a secure, customizable foundation, MCP-Billing offers a one-time purchase model with no revenue sharing or platform lock-in, making it an attractive choice for long-term projects that require control and scalability.
Screenshots




Pros
- ✓Complete self-hosted solution with robust security features
- ✓Integration of OAuth 2.1 + PKCE for secure authentication
- ✓Usage-based billing with Stripe, flexible and developer-friendly
- ✓Open-source metering core on npm for transparency and customization
- ✓One-time purchase with no revenue sharing or lock-in
Cons
- ✗Primarily targeted at experienced developers comfortable with self-hosting
- ✗Requires setup and maintenance of hosting environment
- ✗Limited information on ongoing support or updates post-purchase
Use Cases
Pricing
MCP-Billing is sold as a one-time purchase for €79, with the core metering component being free and open source. There are no recurring fees or revenue sharing, but users must host and maintain the system themselves.
Quick Info
Topics
Makers
Marc Gil
Similar Tools in Developer Tools
Embed Badge
Add this badge to your website to show that MCP-Billing is featured on Visalytica.
<a href="https://www.visalytica.com/tool/mcp-billing" target="_blank" rel="noopener noreferrer" style="display:inline-flex;align-items:center;gap:6px;padding:6px 14px;background:#7c3aed;color:#fff;border-radius:8px;font-family:-apple-system,system-ui,sans-serif;font-size:13px;font-weight:600;text-decoration:none;transition:background .2s" onmouseover="this.style.background='#6d28d9'" onmouseout="this.style.background='#7c3aed'"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 20V10"/><path d="M18 20V4"/><path d="M6 20v-4"/></svg>Featured on Visalytica</a>