FlexPrice — Claude Code MCP server: what it does, how to install
Connects FlexPrice billing API tools to your editor or terminal assistant. Lets you inspect invoices, track usage, and manage subscriptions, plans, or customer records.
no license updated 2026-10-29
Open on GitHubWhat FlexPrice does
The server exposes FlexPrice billing endpoints as MCP tools for coding assistants. Your assistant can check customers, pull invoice details, record usage events, and inspect pricing tiers directly from the workspace. Available actions follow the OpenAPI schema included in the project.
To avoid filling the prompt context, you can enable dynamic mode with the --mode dynamic flag. The assistant receives only three discovery tools—list_tools, describe_tool, and execute_tool—and fetches complete schemas on demand.
Running this integration requires Node.js 20 or newer and a valid FlexPrice API token. Without a key from app.flexprice.io, the server cannot authenticate against https://us.api.flexprice.io/v1.
What it helps with
- query customer records and active subscriptions
- retrieve unpaid invoices and payment statuses
- send usage events to the billing system
- inspect API tool schemas on demand via dynamic mode
Example prompts for the agent
- List all FlexPrice customers with active subscriptions
- Fetch the latest unpaid invoices from FlexPrice
- Show available pricing plans and prices from our billing account
How to install FlexPrice
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about FlexPrice
How to install FlexPrice in Claude Code?
Run claude mcp add flexprice -- npx -y @flexprice/mcp-server start --server-url https://us.api.flexprice.io/v1 --api-key-auth YOUR_API_KEY in your terminal, replacing YOUR_API_KEY with your actual token. Then start Claude Code and check connectivity with /mcp.
What does FlexPrice MCP server do?
It gives your AI coding assistant direct access to the FlexPrice billing API. The assistant can view invoices, update subscriptions, inspect customers, and send usage events.
Why use the dynamic mode flag?
Publishing every API endpoint at once inflates token counts in every prompt. The --mode dynamic option provides meta-tools so the agent only loads schemas when executing a specific action.