Read-only MCP server for your own Buy Me a Coffee account: supporters, Extras purchases, memberships, totals
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add buymeacoffee-mcp -- npx -y buymeacoffee-mcp{
"mcpServers": {
"buymeacoffee-mcp": {
"command": "npx",
"args": ["-y", "buymeacoffee-mcp"],
"env": {
"BMAC_TOKEN": "<bmac_token>"
}
}
}
}BMAC_TOKENMCP Servers overview
# buymeacoffee-mcp
Read your own Buy Me a Coffee account from an AI assistant. This MCP server runs over stdio and uses the official read-only API.
See recent supporters, Extras purchases, memberships, and totals by currency. This project is independent and not affiliated with Buy Me a Coffee. Buy Me a Coffee is a trademark of its owner.
## Tools
| Tool | What it returns | Arguments |
| --- | --- | --- |
| `list_supporters` | Recent one-off supports, newest first | `limit` (20), `since`, `include_emails` (false), `max_pages` (5) |
| `list_extra_purchases` | Recent Extras purchases | `limit` (20), `since`, `include_emails` (false), `max_pages` (5) |
| `list_subscriptions` | Membership records or an empty result with a message | `include_emails` (false), `max_pages` (5) |
| `summary` | Supports and Extras totals by currency, with a separate free support count | `days` (30), `max_pages` (20) |
`limit` accepts 1 to 100. `days` accepts 1 to 365. `since` accepts an ISO date or a timestamp with a timezone. `max_pages` accepts 1 to 20 per endpoint. Requests are spaced at least one second apart. List results report `has_more`. Subscriptions return an error if the page cap leaves data unread. Missing normalized fields are `null`.
Summary checks newest-first ordering within and across pages for each endpoint. It stops after a whole page falls before the window, provided no ordering break was seen. A final page with `next_page_url: null` always completes the walk. If ordering breaks, summary keeps walking and returns an error if the cap leaves pages unread. `early_stop` says whether older pages were skipped; `pages_fetched` counts all fetched pages across both endpoints. The API serves five rows per page.
Summary excludes refunded supports and revoked purchases. `supports.count` includes free supports. `supports.free_count` counts non-refunded, in-window supports with amount zero, including free downloads. Subtract it from `supports.count` for the paid support count. Currency totals are unchanged.
## Getting a token
Open the [Buy Me a Coffee developer dashboard](https://developers.buymeacoffee.com/). Select Login and sign in with your creator account. In the developer dashboard, select "generate my token", give it a name, and select "generate". Copy the token into your client's `BMAC_TOKEN` setting.
## Claude Desktop
Use `node` 20 or newer. Add this entry to your Claude Desktop MCP configuration:
```json
{
"mcpServers": {
"buymeacoffee": {
"command": "npx",
"args": ["-y", "buymeacoffee-mcp"],
"env": { "BMAC_TOKEN": "..." }
}
}
}
```
Restart Claude Desktop after saving.
## Claude Code
```sh
claude mcp add buymeacoffee -e BMAC_TOKEN=... -- npx -y buymeacoffee-mcp
```
Replace `...` with your token.
## Cursor
Add this to your Cursor MCP configuration:
```json
{
"mcpServers": {
"buymeacoffee": {
"command": "npx",
"args": ["-y", "buymeacoffee-mcp"],
"env": { "BMAC_TOKEN": "..." }
}
}
}
```
## Codex CLI
```sh
codex mcp add buymeacoffee --env BMAC_TOKEN=... -- npx -y buymeacoffee-mcp
```
Replace `...` with your token.
## Privacy
Emails are redacted by default as `j***@example.com`, including emails in notes and nested records. Set `include_emails: true` only when you need full addresses. This is data from the account owner's account and should be handled accordingly.
The server reads the token only from `BMAC_TOKEN`. It stays in the local process and is sent only to `developers.buymeacoffee.com` for authentication. The server contacts no other host, writes no files, and logs nothing. Tool results go to your assistant. There is no telemetry.
## HTTP 403 and client fingerprints
The API can reject a client fingerprint with HTTP 403 and error code 1010. This may be a client-fingerprint block rather than a bad token. The server sends a browser-like User-Agent on every request. If a block persists, try again later. HTTP 429 means the API has throttled requests.
## Development
```sh
pnpm install
pnpm build
pnpm test
pnpm dev
npm pack --dry-run
```
Tests use synthetic fixtures and a local HTTP server. The live test is skipped unless both `BMAC_LIVE=1` and `BMAC_TOKEN` are set. It uses your real account and makes three read-only requests. Never put a token in a tracked file.
`scripts/probe-shape.mjs` prints the API response shape without values, for verifying against a real account.
The API documentation is marked unmaintained. Field mappings, date assumptions, and page-cap behavior are recorded in `NOTES.md` in the repository.
## Licence
MIT. Copyright 2026 Mathieu Kessler. See [LICENSE](LICENSE).
What people ask about buymeacoffee-mcp
What is mayeu20/buymeacoffee-mcp?
+
mayeu20/buymeacoffee-mcp is mcp servers for the Claude AI ecosystem. Read-only MCP server for your own Buy Me a Coffee account: supporters, Extras purchases, memberships, totals It has 0 GitHub stars and its last recorded update is dated 2026-09-09.
How do I install buymeacoffee-mcp?
+
You can install buymeacoffee-mcp by cloning the repository (https://github.com/mayeu20/buymeacoffee-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is mayeu20/buymeacoffee-mcp safe to use?
+
Our security agent has analyzed mayeu20/buymeacoffee-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains mayeu20/buymeacoffee-mcp?
+
mayeu20/buymeacoffee-mcp is maintained by mayeu20. The last recorded GitHub activity is dated 2026-09-09, with 0 open issues.
Are there alternatives to buymeacoffee-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy buymeacoffee-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/mayeu20-buymeacoffee-mcp)<a href="https://claudewave.com/repo/mayeu20-buymeacoffee-mcp"><img src="https://claudewave.com/api/badge/mayeu20-buymeacoffee-mcp" alt="Featured on ClaudeWave: mayeu20/buymeacoffee-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!