# GitHubCard

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 15 repo stars
- Author: ghcardhq
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ghcardhq/githubcard-mcp
- Updated: 2026-11-08
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/githubcard

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://githubcard.com/mcp`
- Environment variables: `GHCARD_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://githubcard.com/mcp
```

2. **Platform CLI**
```bash
claude mcp add --env GHCARD_API_KEY=<GHCARD_API_KEY> --transport stdio githubcard -- npx -y @ghcardhq/ghcard
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add githubcard --url https://githubcard.com/mcp
```

2. **Platform CLI**
```bash
codex mcp add githubcard --env GHCARD_API_KEY=<GHCARD_API_KEY> -- npx -y @ghcardhq/ghcard
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "githubcard": {
            "url": "https://githubcard.com/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "githubcard": {
            "command": "npx",
            "args": [
                "-y",
                "@ghcardhq/ghcard"
            ],
            "env": {
                "GHCARD_API_KEY": "<GHCARD_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "githubcard": {
            "type": "http",
            "url": "https://githubcard.com/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "githubcard": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@ghcardhq/ghcard"
            ],
            "env": {
                "GHCARD_API_KEY": "<GHCARD_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http githubcard https://githubcard.com/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e GHCARD_API_KEY=<GHCARD_API_KEY> githubcard npx -y @ghcardhq/ghcard
```
Replace <…> with your own values

## When to use it
- 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
- 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.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
