[GitHubCard]
GitHubCard MCP server
Let your AI assistant create GitHubCard images: profile
and repository cards for READMEs, link previews and social posts, with live
GitHub data.
- Hosted:
https://githubcard.com/mcp (Streamable HTTP). Nothing to install.
- Local:
npx -y @ghcardhq/ghcard mcp (stdio), from the
ghcard CLI. It can also edit a README on
your disk.
Ask things like:
Make a GitHubCard for my profile and add it to the top of my README.
Create a dark card for vercel/next.js I can use as a link preview.
Use the compact repo template, but with a #1e3a5f background and without the
language widget.
Get an API key
Creating cards needs a free API key. Sign in at
githubcard.com/dashboard and create one under
API keys. It looks like ghc_live_….
Without a key, the server still lists templates, palettes and widget types, so
you can try it before signing up.
Setup
Replace ghc_live_… with your key in the examples below.
Claude Code
There is also a Claude Code plugin that adds the server together with a
GitHubCard skill: see ghcardhq/skills.
Claude Desktop
Settings → Connectors → Add custom connector, URL
https://githubcard.com/mcp. Custom headers are not available there yet, so to
pass your key, use the local server in claude_desktop_config.json instead:
Cursor
~/.cursor/mcp.json:
VS Code
.vscode/mcp.json (VS Code asks for the key once and stores it securely):
Windsurf
~/.codeium/windsurf/mcp_config.json:
Codex CLI
~/.codex/config.toml:
Then export GHCARD_API_KEY=ghc_live_… in your shell.
Any other client
Remote: Streamable HTTP at https://githubcard.com/mcp, header
Authorization: Bearer ghc_live_….
Local (stdio): command npx, args ["-y", "@ghcardhq/ghcard", "mcp"], env
GHCARD_API_KEY. Add --allow-file-writes to the args to enable
update_readme. Needs Node.js 20 or later.
Tools
create_card is idempotent: the same inputs return the same card and link. Card
images always show current GitHub data, so there is no need to recreate them.
Failed calls return isError: true with a stable code, a retryable flag
and a hint telling the model what to do next.
Limits
The quota resets at 00:00 UTC. Failed calls are not counted. Free cards carry a
small watermark. See pricing.
Links
License
MIT