
showoffer
io.github.4thwithme/showoffer
Your GitHub PRs, reviews and time to merge as a report you can share. Local; token only to GitHub.
Documentation
ShowOffer MCP
Your GitHub work as a report, inside Claude.
PRs merged, reviews, time to merge, review speed, each against the period before.
Drawn as the same report as showoffer.tech, with the same widgets, logo and QR code.
Install · Token · Directories · Examples · Prompts · Tools · Security · FAQ
What you get
- The numbers. PRs merged, PRs reviewed, time to merge, time to first review, review response time, PR size, merge rate, commits, active days and abandoned PRs. Each number is compared with the period before and rated good or bad.
- The report. The showoffer.tech report, with 6 formats, 5 presets and 50 widgets. You pick the format, the preset and the widgets in your own words. You get PNG pages and a PDF.
- Private. It runs on your machine and reads GitHub only. Your token goes only to
api.github.com. Nothing goes to a ShowOffer server.
Use it for self-reviews, performance reviews, promotion cases, 1:1 prep, a CV, or a "GitHub wrapped" post.
Install
You need Node.js 22+. Chrome, Edge, Brave or Chromium draws the report. Without one, you get a simpler image.
Claude Code (CLI)
-
Save a GitHub token, once:
npx showoffer loginPaste a personal access token (classic, scopes
repo,read:org,read:user). The input is hidden. The server checks the token with GitHub and puts it into your OS keychain. -
Add the server:
claude mcp add showoffer -- npx -y showoffer -
Start
claudeand ask: "Make my GitHub report for the last 12 months as a social post, year preset."
Claude Desktop
-
Save a GitHub token once, in a terminal:
npx showoffer login. -
In Claude Desktop, open Settings → Developer → Edit Config.
-
Add
showoffertoclaude_desktop_config.jsonand save the file:{ "mcpServers": { "showoffer": { "command": "npx", "args": ["-y", "showoffer"] } } }The file is in
~/Library/Application Support/Claude/on macOS and in%APPDATA%\Claude\on Windows. -
Quit and reopen Claude Desktop. Then ask: "Make my GitHub report for the last 12 months, one page, with legends."
Other MCP clients
Cursor: ~/.cursor/mcp.json
{
"mcpServers": {
"showoffer": { "command": "npx", "args": ["-y", "showoffer"] }
}
}
VS Code: .vscode/mcp.json
{
"servers": {
"showoffer": { "type": "stdio", "command": "npx", "args": ["-y", "showoffer"] }
}
}
Windsurf: ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"showoffer": { "command": "npx", "args": ["-y", "showoffer"] }
}
}
Codex CLI and Gemini CLI
codex mcp add showoffer -- npx -y showoffer
gemini mcp add showoffer npx -y showoffer
GitHub token
The server takes the first token it finds, in this order:
| Order | Source | How to set it | Sees | Where the token is |
|---|---|---|---|---|
| 1 | ShowOffer sign-in | npx showoffer login | Every repository the personal access token reads | OS keychain |
npx showoffer login --app | Accounts where the ShowOffer Tech GitHub App is installed | OS keychain | ||
| 2 | Environment | GITHUB_TOKEN | What the token reads | Plain text in your client config |
| 3 | GitHub CLI | gh auth login | What your gh token reads | OS keychain (by gh) |
- Personal access token (default). Make a classic token with
repo,read:organdread:user. Withoutrepothe scan does not see private repositories; withoutread:org, organisation repositories. The server never writes to GitHub. For a read-only token, make a fine-grained token with read-only Contents, Pull requests, Issues and Metadata on the repositories you choose. You can also pipe the token:gh auth token | npx showoffer login. - GitHub App (
--app). Open the link, type the code and approve on GitHub. No token to copy, but the scan sees only the accounts where you install the ShowOffer Tech GitHub App. - Use
GITHUB_TOKENonly in CI.npx showoffer statusshows the source and the kind of token.npx showoffer logoutremoves the stored token.
MCP directories
| Directory | Listing | State |
|---|---|---|
| Official MCP Registry | io.github.4thwithme/showoffer | Listed |
| Glama | glama.ai/mcp/servers/4thwithme/showoffer-mcp | Listed |
| npm | npmjs.com/package/showoffer | Published |
| Awesome MCP Servers | punkpeye/awesome-mcp-servers | In review |
| TensorBlock MCP Index | TensorBlock/awesome-mcp-servers | In review |
| Awesome MCP List | MobinX/awesome-mcp-list | In review |
| ToolSDK MCP Registry | toolsdk-ai/toolsdk-mcp-registry | In review |
| MCP.so | mcp.so | In review |
| MCP Servers | mcpservers.org | In review |
| Gemini CLI extensions | geminicli.com/extensions | Added by the gallery's crawl |
On Glama you can also:
- browse the server's tools and check its quality score
- test the server online with the MCP Inspector
Examples
These reports come from the MCP server, with a sample profile.
Social post, year preset | Card, standard preset |
|---|---|
![]() | ![]() |
| One page, widgets you choose, legends | One page, collaborator preset |
|---|---|
![]() | ![]() |
Half page, shipper preset, legends
Prompts
- "Make my GitHub report for the last 6 months."
- "Scan 2026 so far and draw it as a social post, year preset."
- "Draw the same scan as one page with only PRs merged, reviews given, the contribution calendar and languages."
- "How fast are my code reviews compared with last quarter?"
- "What does time to first review mean? Is lower better?"
- "Make a full report PDF for my promotion case."
After the first scan, the assistant can redraw the report in about a second, with no new scan.
Tools
| Tool | What it does |
|---|---|
scan_github | Scans a period (3m, 6m, 12m, ytd, 2y, 5y, or from/to; optional repos) and compares it with the period before. Returns the numbers and the report. |
render_report | Draws the last scan again with a different format, preset or widget list. |
list_widgets | Lists the formats, presets and widgets, with the sizes each format allows. |
explain_metric | Tells how a metric is counted and which direction is better. |
report_link | Gives the link to the report generator on showoffer.tech. |
Report options
scan_github and render_report take these options:
| Option | Values |
|---|---|
format | card (1/8 A4), social (1200×627), half (1/2 A4), page (A4, default), report (3 × A4), dossier (6 × A4) |
preset | standard (default), year, year-light, shipper, collaborator |
widgets | [{ "id": "kpi-prs", "size": "S" }, ...], in order. Get the ids from list_widgets. If you leave it out, you get the preset's widgets. |
legends | true adds one line under each widget: what it shows and how good the change is |
pdf | true also saves a PDF |
If a widget id is unknown or a widget does not fit, the server leaves it out and names it in the answer. The first three pages come back as images. All PNG pages and the PDF go to a showoffer folder in your temp folder. Set SHOWOFFER_OUT to save them in a different folder.
Security
- Token. The server reads the token from the keychain,
ghor the environment for each call. It keeps the token in memory only. It sends the token only in theAuthorizationheader toapi.github.com. Tokens never appear in errors, logs or tool results. - Read-only. The server runs only GraphQL read queries. It never writes to GitHub.
- No ShowOffer server. There is no telemetry and no analytics. The only links go to showoffer.tech: the QR code and the links in the answers.
- Local drawing. A headless browser draws the report, with a new, empty profile each time. The server sends DevTools commands over a private pipe, so the browser opens no debugging port. The report page comes from a server on
127.0.0.1that serves only the files of the report renderer. Your scan goes only into that local page. - Your files. Reports can name private repositories. The report folder is made with mode
0700and each file with mode0600. The server refuses a folder that is a link or that another user owns. - Access. With
showoffer login, the server sees what your personal access token can read. Withshowoffer login --app, it sees the accounts where you install the ShowOffer Tech GitHub App. The login checks a pasted token only withapi.github.comand never prints it.
You can report a security problem through GitHub private reporting.
FAQ
Claude Desktop says the server failed to start
Claude Desktop can start without your shell's PATH, so it does not find npx. Put the full path in command. To find the path, run which npx on macOS or where npx on Windows. Also check that node --version is 22 or higher.
The scan is slow
A scan of many repositories takes a few minutes, because it runs the same queries as the site. To make it faster, pass repos, for example "only acme/api and acme/web". When the scan is done, you can redraw it in about a second.
I get a plain image, not the site's report
The server did not find Chrome, Edge, Brave or Chromium. Install one, or set SHOWOFFER_CHROME to the path of the browser.
Can I make the report on the website?
Yes. showoffer.tech makes the same report in your browser. You get a widget editor and you can share it to LinkedIn and X.
Development
This repository is built and released from the main ShowOffer repository, where it is the mcp/ submodule.
renderer/is the site's report, built bypnpm mcp:buildin the main repository.src/github/is a copy of the site's GitHub data layer.pnpm mcp:syncin the main repository makes the copy, and a test fails when the copy and the site are different. So the MCP report counts the same things as the site.
pnpm install
pnpm test
pnpm build # dist/cli.js
pnpm release # dry run; add --publish to publish to npm
License
MIT. Use it, change it and share it, also in commercial work. Keep the copyright notice.
showoffernpm install showoffer


