gumroad-mcp
A read-only MCP server for Gumroad stores that exposes tools to list products, paginate sales, and summarize revenue, with privacy-preserving buyer domain details and net-of-refund calculations.
README
gumroad-mcp
Read-only MCP server for your Gumroad store — products, sales, and revenue summaries, exposed as tools your AI agent can call.
Built by a store operator, not from the API docs alone:
- Sales are fully paginated — and say so when they aren't. The v2 sales endpoint pages by
page_key; naive clients read page 1 and silently under-report. This server walks every page. There is a hard page cap so a huge store can't hang a session, and if that cap is ever hit the response carries"complete": falseplus an explicit warning that the totals are a floor. A truncated total is never returned as if it were the real number. - Money is integer cents + a formatted string. Models shouldn't do float arithmetic on revenue.
- Refunds are first-class.
salesandrevenue_summaryreport gross and net-of-refunds. - Buyer privacy by default. Sales rows expose the buyer's email domain only — enough for channel analysis, no PII handed to the model.
- Read-only by design. Only GET endpoints. The token comes from the environment and is never echoed or logged.
- No false delivery alarms. Gumroad returns an empty
file_infofor multi-file products, so "empty" does not mean "no file attached". This server reports that field as the raw API fact it is (file_info_reported_by_api) and attaches a note, instead of asserting a delivery status the endpoint cannot actually tell you.
Requires the 1.x MCP SDK.
mcp2.0.0 removedmcp.server.fastmcp, so the dependency is pinnedmcp>=1.0.0,<2.0.0. Porting to the 2.x (mcp.server.mcpserver) API is tracked as follow-up.
Tools
| Tool | What it answers |
|---|---|
list_products() |
What am I actually selling? Name, permalink, price, published state, sales count |
sales(after, before, product_id) |
Every sale in a window, paginated to the end, with totals |
revenue_summary(after) |
One-call health check: product counts, lifetime sales per product, revenue since a date (default: this month) |
Install
git clone https://github.com/stcmain/gumroad-mcp.git
cd gumroad-mcp
pip install .
Get a token: Gumroad → Settings → Advanced → Applications → create app → copy the access token.
Register with Claude Code:
claude mcp add --scope user gumroad --env GUMROAD_ACCESS_TOKEN=your_token -- gumroad-mcp
Or any MCP client config:
{
"mcpServers": {
"gumroad": {
"command": "gumroad-mcp",
"env": { "GUMROAD_ACCESS_TOKEN": "your_token" }
}
}
}
License
MIT © Zachary Pampu
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.