Buy Me a Coffee (read-only) MCP Server
Read your own Buy Me a Coffee supporters, Extras purchases, memberships and totals.
Buy Me a Coffee (read-only) scores 61 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 52 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
61 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
84/100 for listing completeness. Lost points: 1 of 3 tools barely described, short summary.
How quality is graded
Where the 61 comes from
22 + 15 + 0 + 10 + 4 + 10 = 61. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mayeu20-buymeacoffee-mcp": { "command": "npx", "args": [ "-y", "buymeacoffee-mcp@0.1.2" ], "env": { "BMAC_TOKEN": "YOUR_BMAC_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
BMAC_TOKENSecret | Required | Buy Me a Coffee personal access token (read-only API). |
Tools3Tool docs quality grade D
All capabilitiesRecent Extras purchases
Membership records or an empty result with a message
list_supporterstoolRecent one-off supports, newest first
About
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, so a 20-page walk takes about 20 seconds. Missing normalized fields are null. Every argument also carries its own description in the tool schema, so your client can show you this detail inline.
The two list tools and the two counting tools behave differently when they run out of pages, and it is the difference worth knowing:
list_supportersandlist_extra_purchasesreturn what they found and sethas_more. A result is not the whole story untilhas_moreis false.list_subscriptionsandsummaryreturn an error instead, naming the cap. Neither will hand back a partial membership list or a total computed over part of the window, because a short total reads exactly like a real one.
since filters after the rows are fetched rather than at the API, so asking for more history than max_pages covers gives you a partial window, not an error.
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. 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:
{
"mcpServers": {
"buymeacoffee": {
"command": "npx",
"args": ["-y", "buymeacoffee-mcp"],
"env": { "BMAC_TOKEN": "..." }
}
}
}
Restart Claude Desktop after saving.
Claude Code
claude mcp add buymeacoffee -e BMAC_TOKEN=... -- npx -y buymeacoffee-mcp
Replace ... with your token.
Cursor
Add this to your Cursor MCP configuration:
{
"mcpServers": {
"buymeacoffee": {
"command": "npx",
"args": ["-y", "buymeacoffee-mcp"],
"env": { "BMAC_TOKEN": "..." }
}
}
}
Codex CLI
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
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.
Frequently asked questions
What is Buy Me a Coffee (read-only) MCP Server?
Read your own Buy Me a Coffee supporters, Extras purchases, memberships and totals.
How do I install Buy Me a Coffee (read-only) MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Buy Me a Coffee (read-only) MCP Server runs locally from the npm package buymeacoffee-mcp with the command npx -y buymeacoffee-mcp@0.1.2.
Is Buy Me a Coffee (read-only) MCP Server free and open source?
Yes. Buy Me a Coffee (read-only) MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Buy Me a Coffee (read-only) MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Buy Me a Coffee (read-only) MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Buy Me a Coffee (read-only) MCP Server provide?
Buy Me a Coffee (read-only) MCP Server provides 3 tools: list_extra_purchases, list_subscriptions, and list_supporters. See the full tool list for descriptions and parameters.
How is Buy Me a Coffee (read-only) MCP Server's trust score calculated?
Buy Me a Coffee (read-only) MCP Server scores 61 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.