@margint-ai/mcp
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@margint-ai/mcpwhich customers are losing me money this month?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@margint-ai/mcp
Query your Margint per-customer AI margin from Claude Desktop, Cursor, or any MCP client.
Ask the LLM "which customers are losing me money this month?" and have it pull the answer from your Margint workspace. Read-only, scoped to a single API key.
Install
Add to your MCP client config (Claude Desktop example, ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"margint": {
"command": "npx",
"args": ["-y", "@margint-ai/mcp"],
"env": {
"MARGINT_API_KEY": "m_live_..."
}
}
}
}For Cursor: same JSON, in Settings → Features → MCP.
Get a key at app.margint.dev → Settings → API Keys.
Tools exposed
Tool | What it does |
| List tracked customers with margin, revenue, cost |
| Drill into one customer's costs by feature/model |
| Workspace-wide totals + breakdowns by provider/model/feature |
| Check whether a customer is at/over their monthly budget |
All tools accept a range parameter (7d, 30d, 90d — default 30d).
Configuration
Env var | Default | Notes |
| required | Your workspace API key |
|
| Override for self-hosted Margint |
Privacy
The MCP server only forwards your prompts to Margint's read API — it never reads your LLM call payloads. The API key scopes access to a single workspace.
MIT licensed. © Margint. Questions: hi@margint.dev.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/margint-ai/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server