GitHubCard — Claude Code MCP server for GitHub cards
The GitHubCard MCP server for Claude Code creates GitHub profile and repository cards. An agent can add one to a README or prepare it for a link preview or social post.
MIT ★ 15 updated 2026-11-08
claude mcp add --transport http mcp https://githubcard.com/mcpWhat GitHubCard does
GitHubCard builds card images from current GitHub data and returns SVG and PNG links, plus Markdown and HTML embed snippets. Agents can choose a template, palette, and widgets, or validate a card setup before creating it; validation does not use the daily quota.
The server can list templates and palettes, retrieve cards, and delete them. In local mode, update_readme inserts a card into a Markdown file or updates an existing one. Card creation requires a free API key; template, palette, and component listings work without one. The local server needs Node.js 20 or later. File edits require the --allow-file-writes flag.
What it helps with
- create a GitHub profile card for a README
- make a repository image for a link preview
- validate card settings before creating it
- update a card inside a Markdown file
Example prompts for the agent
- Create a card for my GitHub profile and add it near the start of the README.
- Make a dark link-preview card for
vercel/next.js. - List the repository card templates and available palettes.
How to install GitHubCard
1Platform CLI: remote server
claude mcp add --transport http mcp https://githubcard.com/mcp2Platform CLI
claude mcp add --env GHCARD_API_KEY=<GHCARD_API_KEY> --transport stdio githubcard -- npx -y @ghcardhq/ghcardReplace <…> with your own values
1Platform CLI: remote server
codex mcp add githubcard --url https://githubcard.com/mcp2Platform CLI
codex mcp add githubcard --env GHCARD_API_KEY=<GHCARD_API_KEY> -- npx -y @ghcardhq/ghcardReplace <…> with your own values
Config file
{
"mcpServers": {
"githubcard": {
"url": "https://githubcard.com/mcp"
}
}
}{
"mcpServers": {
"githubcard": {
"command": "npx",
"args": [
"-y",
"@ghcardhq/ghcard"
],
"env": {
"GHCARD_API_KEY": "<GHCARD_API_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"githubcard": {
"type": "http",
"url": "https://githubcard.com/mcp"
}
}
}{
"servers": {
"githubcard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ghcardhq/ghcard"
],
"env": {
"GHCARD_API_KEY": "<GHCARD_API_KEY>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http githubcard https://githubcard.com/mcp2Platform CLI
gemini mcp add -e GHCARD_API_KEY=<GHCARD_API_KEY> githubcard npx -y @ghcardhq/ghcardReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about GitHubCard
How do I install GitHubCard in Claude Code?
Add the remote server with claude mcp add --transport http githubcard https://githubcard.com/mcp. Creating cards also requires an API key.
What does GitHubCard do?
It creates cards for GitHub profiles and repositories using current GitHub data, then provides image links and embed snippets. Its local server can also edit a Markdown file to add or update a card.
What does GitHubCard need to run?
Card creation requires a free GitHubCard API key. The local server requires Node.js 20 or later, and file edits need the --allow-file-writes flag.