Connect Antigravity, Claude Code, Cursor, Windsurf, Codex, and OpenCode to Gitlytics' Git Intelligence platform: 3 interactive 4-mode MCP Apps (Workspace, AI Health, Widget Studio), persistent repository telemetry, anomaly signals, and 50-theme SVG/2x PNG README widgets.
Works across Claude Code, Cursor, Codex, OpenCode, and Antigravity:
npx skills add ameyachopade/gitlytics-plugin -gInstall an individual skill:
npx skills add ameyachopade/gitlytics-plugin@gitlytics-widgets -g
npx skills add ameyachopade/gitlytics-plugin@gitlytics-badges -g
npx skills add ameyachopade/gitlytics-plugin@gitlytics-analytics -g
npx skills add ameyachopade/gitlytics-plugin@gitlytics-automation -gChoose the endpoint that matches your workflow:
- 1-Click OAuth 2.1 Sign-In (All 12 tools - public + private workspace):
https://api.gitlytics.dev/mcp-oauth - Zero-Login Public Mode (6 public widget, batch badge, logo, profile & star-history tools immediately):
https://api.gitlytics.dev/mcp - Headless / CI Fallback:
https://api.gitlytics.dev/mcpwith a scopedglt_live_...API key from dashboard.gitlytics.dev/integrations.
Antigravity / Cursor / Windsurf / VS Code / OpenCode (mcp_config.json / mcp.json - 1-Click OAuth 2.1 Sign-In):
{
"mcpServers": {
"gitlytics": {
"type": "http",
"url": "https://api.gitlytics.dev/mcp-oauth"
}
}
}Public Widgets & Badges Only (Zero Login Required):
{
"mcpServers": {
"gitlytics": {
"type": "http",
"url": "https://api.gitlytics.dev/mcp"
}
}
}CLI Agents (Claude Code / Codex):
# Claude Code - 1-click OAuth 2.1 sign-in (all 12 tools)
claude mcp add --transport http gitlytics https://api.gitlytics.dev/mcp-oauth
# Claude Code - zero-login public tools only
claude mcp add --transport http gitlytics https://api.gitlytics.dev/mcp
# Codex - 1-click OAuth 2.1 sign-in
codex mcp add gitlytics --url https://api.gitlytics.dev/mcp-oauthHeadless / CI API Key Fallback:
Pass Authorization: Bearer ${GITLYTICS_API_KEY} in your client's headers on https://api.gitlytics.dev/mcp (or --header "Authorization: Bearer ${GITLYTICS_API_KEY}" in Claude Code).
For privacy-first users querying local traffic_*.csv archives without touching Gitlytics Cloud:
pip install "gitlytics[mcp]"
export GITLYTICS_TOKEN="your_github_token_in_env"
gitlytics mcp --data-dir ./dataSee mcp_config.local.json for the local stdio configuration template.
| Tool | Purpose |
|---|---|
list_widget_catalog |
Lists all 50 profile cards, 50 themes, 20 visual variants, shapes, and tech logo totals (supports sections and compact filters). |
search_tech_logos |
Searches the 200 verified tech logo slugs by single query or batch queries (up to 25 technologies in 1 call, with alias resolution). |
build_widget_embed |
Validates parameters and generates SVG URLs, Markdown, HTML, and light/dark <picture> embeds for a single widget (cards, tech/static/live/PyPI/npm/skills badges, logos, charts, star history; supports href and format). |
build_widget_batch |
Validates and generates up to 30 badges, cards, logos, or charts in 1 call with shared defaults, README layout assembly, include_items, and partial error recovery. |
get_public_github_profile |
Fetches cached public GitHub user stats and top public repositories. |
get_public_star_history |
Returns cached cumulative star history and next star milestone projection. |
| Tool | Required Scope | Purpose |
|---|---|---|
list_connected_repos |
read:traffic |
Lists repositories connected to your Gitlytics Cloud workspace. |
get_workspace_summary |
read:traffic |
Aggregates views, visitors, clones, stars, forks, and optional cached AI health scores (include_health=true, requires read:analysis) across all connected repositories in 1 call. |
get_repo_traffic |
read:traffic |
Queries archived views, unique visitors, clones, referrers, and top paths (up to 365 days; supports daily, weekly, or summary granularity). |
get_ai_health_analysis |
read:analysis |
Reads cached AI health scorecards, key areas, dev focus, and recommendations (falls back to last saved run with stale: true if >24h old). |
trigger_ai_analysis |
write:refresh |
Runs an on-demand Deep AI Health Analysis when no fresh (<24h) cache exists (6h per-repo cooldown + daily budget). |
trigger_repo_refresh |
write:refresh |
Triggers a cooldown-bounded on-demand traffic sync from GitHub. |
Clients that support MCP Apps (text/html;profile=mcp-app, such as Antigravity) automatically render interactive UI views while CLI and text-only agents continue receiving compact structured JSON:
MCP App (ui:// Resource) |
Triggered By | Highlights |
|---|---|---|
Gitlytics Traffic Dashboard (ui://gitlytics/traffic-dashboard.html) |
get_workspace_summary, get_repo_traffic |
Interactive Line/Bar charts with click-to-pin HUD, Views/Uniques/Clones/Avg toggles, clickable Referrers & Paths, Star History curve, AI Health sub-tab, Markdown export, and both Side Pane (aux_pane) + Full-Page Sidebar (global) entrypoints. |
Gitlytics AI Health Scorecard (ui://gitlytics/health-scorecard.html) |
get_ai_health_analysis, trigger_ai_analysis |
Radial health gauge with tier badge, expandable directory Key Areas, interactive Action Checklist with progress bar and per-item chat actions, plus an on-demand Traffic Snapshot tab. |
Gitlytics Badge & Widget Studio (ui://gitlytics/badge-studio.html) |
build_widget_embed, build_widget_batch |
Dynamic catalog loading (all 50 themes, 20 variants, valid shapes), searchable warm popover dropdowns, Dark/Light/Clay/Grid canvases, Zoom, Dual Light/Dark Split View, per-item batch reordering, and live + Add Tech Badge search composer. |
All three apps also implement SEP-1865 inline, fullscreen, and pip display mode negotiation automatically when advertised by the host.
- Resources:
gitlytics://catalog/widgets- Complete JSON catalog of cards, variants, and shapes.gitlytics://catalog/themes- Complete JSON catalog of all 50 unified themes.gitlytics://catalog/logos- Complete JSON catalog of all verified technology SVG logos.gitlytics://catalog/logos/{category}&gitlytics://catalog/cards/{category}- Category-filtered resource templates.
- Prompts:
create_badge_row,upgrade_readme,audit_repo_traffic.
| Skill | Focus |
|---|---|
gitlytics-widgets |
GitHub profile README cards (50 cards), 50 unified themes, 20 visual variants, charts, and light/dark <picture> layouts. |
gitlytics-badges |
Tech-stack logo capsules (200 verified icons), custom concept badges, live views/clones/stars badges, and PyPI version badges. |
gitlytics-analytics |
Traffic anomaly diagnostics, clone-to-visitor conversion analysis, star projections, and AI health scorecards. |
gitlytics-automation |
Defeating GitHub's 14-day traffic limit via GitHub Actions, local gitlytics sync cron jobs, and safe self-hosted dashboards. |
gitlytics-plugin/
βββ plugin.json # Antigravity plugin manifest
βββ mcp_config.json # Hosted Streamable HTTP MCP config
βββ mcp_config.local.json # Optional local stdio MCP template
βββ rules/AGENTS.md # Always-on agent guardrails
βββ assets/logo.png # Plugin icon
βββ skills/
β βββ gitlytics-widgets/ # SKILL.md + references + evals
β βββ gitlytics-badges/ # SKILL.md + references + evals
β βββ gitlytics-analytics/ # SKILL.md + references + evals
β βββ gitlytics-automation/ # SKILL.md + references + evals
βββ scripts/validate_plugin.py # Offline schema & lint validator
βββ SECURITY.md
βββ CONTRIBUTING.md
βββ LICENSE
python scripts/validate_plugin.py| Project | Role | Link |
|---|---|---|
| gitlytics | Core Python library, CLI (fetch, sync, stars, dashboard, mcp), and self-hosted local dashboard |
PyPI |
| gitlytics-npm | Zero-dependency Node.js CLI, JS/TS SDK, dual-mode MCP & local dashboard | npm (@gitlytics/cli) |
| gitlytics-plugin (this repo) | Official Antigravity plugin, MCP configs & 4 Vercel Agent Skills | skills.sh |
| gitlytics-github-traffic-automation | Composite GitHub Action for automated CSV traffic backups | GitHub Action |
| Gitlytics Web & Docs | Official Homepage, Docs Hub & Engineering Blog | gitlytics.dev / docs.gitlytics.dev / blog.gitlytics.dev |
| Gitlytics Cloud Dashboard | Hosted Analytics Dashboard, Embed Studio & MCP OAuth Consent UI | dashboard.gitlytics.dev |
| Gitlytics Hosted API & MCP | 50-card / 200-logo SVG engine & Streamable HTTP MCP server (/mcp-oauth & /mcp) |
api.gitlytics.dev |
- Contributing: See
CONTRIBUTING.mdfor skill guidelines and validator checks. - Security: See
SECURITY.mdfor credential safety and private vulnerability reporting. - License: Licensed under the Apache License 2.0.