Repository avatar
Version Control
v0.1.3
active

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 logo

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.

npm node MCP license runs locally Official MCP Registry ShowOffer MCP server on Glama

Install · Token · Directories · Examples · Prompts · Tools · Security · FAQ

A ShowOffer social post report made by the MCP server: profile, contribution calendar, radar and PRs merged

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)

Install in Claude Code: npx showoffer login with a personal access token, claude mcp add showoffer, then ask for a report

Watch as MP4

  1. Save a GitHub token, once:

    npx showoffer login
    

    Paste 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.

  2. Add the server:

    claude mcp add showoffer -- npx -y showoffer
    
  3. Start claude and ask: "Make my GitHub report for the last 12 months as a social post, year preset."

Claude Desktop

Install in Claude Desktop: save a token, Settings, Developer, Edit Config, add showoffer, ask for a report

Watch as MP4

  1. Save a GitHub token once, in a terminal: npx showoffer login.

  2. In Claude Desktop, open Settings → Developer → Edit Config.

  3. Add showoffer to claude_desktop_config.json and 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.

  4. 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:

OrderSourceHow to set itSeesWhere the token is
1ShowOffer sign-innpx showoffer loginEvery repository the personal access token readsOS keychain
npx showoffer login --appAccounts where the ShowOffer Tech GitHub App is installedOS keychain
2EnvironmentGITHUB_TOKENWhat the token readsPlain text in your client config
3GitHub CLIgh auth loginWhat your gh token readsOS keychain (by gh)
  • Personal access token (default). Make a classic token with repo, read:org and read:user. Without repo the scan does not see private repositories; without read: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_TOKEN only in CI. npx showoffer status shows the source and the kind of token. npx showoffer logout removes the stored token.

MCP directories

DirectoryListingState
Official MCP Registryio.github.4thwithme/showofferListed
Glamaglama.ai/mcp/servers/4thwithme/showoffer-mcpListed
npmnpmjs.com/package/showofferPublished
Awesome MCP Serverspunkpeye/awesome-mcp-serversIn review
TensorBlock MCP IndexTensorBlock/awesome-mcp-serversIn review
Awesome MCP ListMobinX/awesome-mcp-listIn review
ToolSDK MCP Registrytoolsdk-ai/toolsdk-mcp-registryIn review
MCP.somcp.soIn review
MCP Serversmcpservers.orgIn review
Gemini CLI extensionsgeminicli.com/extensionsAdded 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 presetCard, standard preset
Social post report, year presetCard report, standard preset
One page, widgets you choose, legendsOne page, collaborator preset
One page report with chosen widgets and legendsOne page report, collaborator preset
Half page, shipper preset, legends Half page report, shipper preset, with legends
Full report, year-light preset, 3 pages and PDF

Full report page 1 Full report page 2 Full report page 3

Open the PDF

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

ToolWhat it does
scan_githubScans 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_reportDraws the last scan again with a different format, preset or widget list.
list_widgetsLists the formats, presets and widgets, with the sizes each format allows.
explain_metricTells how a metric is counted and which direction is better.
report_linkGives the link to the report generator on showoffer.tech.

Report options

scan_github and render_report take these options:

OptionValues
formatcard (1/8 A4), social (1200×627), half (1/2 A4), page (A4, default), report (3 × A4), dossier (6 × A4)
presetstandard (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.
legendstrue adds one line under each widget: what it shows and how good the change is
pdftrue 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, gh or the environment for each call. It keeps the token in memory only. It sends the token only in the Authorization header to api.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.1 that 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 0700 and each file with mode 0600. 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. With showoffer login --app, it sees the accounts where you install the ShowOffer Tech GitHub App. The login checks a pasted token only with api.github.com and 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 by pnpm mcp:build in the main repository.
  • src/github/ is a copy of the site's GitHub data layer. pnpm mcp:sync in 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.

NPM
showoffer
Install Command
npm install showoffer