Gitlytics MCP Server
Provides tools and CLI/SDK capabilities to fetch GitHub repository traffic analytics and star history, sync them into CSV vaults, and support automated traffic backups via GitHub Actions.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@gitlytics/cli
Zero-Dependency GitHub Traffic Analytics CLI, JS/TS SDK, Dual-Mode MCP Server & Local Dashboard
The JavaScript/TypeScript companion to PyPI gitlytics - 100% CSV-vault compatible, zero runtime dependencies.
Installation
# Global CLI install
npm install -g @gitlytics/cli
# Project SDK install (ESM + TypeScript types)
npm install @gitlytics/cliRelated MCP server: mcp-github-tools
Quick Start
# Or run directly without installing via npx
npx @gitlytics/cli fetch --repo-name owner/repo --print-table
# Sync into monthly 22-column CSV vaults (interchangeable with Python gitlytics)
npx @gitlytics/cli sync --data-dir ./data --output-mode monthly
# Inspect star history
npx @gitlytics/cli stars owner/repo --json
# Launch local loopback dashboard
npx @gitlytics/cli dashboard --data-dir ./data --port 8000Dual-Mode MCP Server
# Cloud MCP bridge (for stdio-only clients -> https://api.gitlytics.dev/mcp)
npx -y @gitlytics/cli mcp --mode cloud
# Local offline CSV vault MCP server (5 local tools, env-var token only)
npx -y @gitlytics/cli mcp --mode local --data-dir ./dataJavaScript / TypeScript SDK
import { fetchTraffic, sync, fetchStarHistory, queryCsvVault, buildWidgetEmbed } from "@gitlytics/cli";
const result = await sync({ dataDir: "./data", outputMode: "monthly" });
const vault = queryCsvVault({ dataDir: "./data", days: 90 });
const badge = buildWidgetEmbed({ kind: "tech_badge", slug: "typescript", style: "icon_label" });The Gitlytics Ecosystem
Project | Role | Link |
Core Python library, CLI ( | ||
gitlytics-npm (this package) | Zero-dependency Node.js CLI, JS/TS SDK, dual-mode MCP & local dashboard | |
Official Antigravity plugin, MCP configs & 4 Vercel Agent Skills | ||
Composite GitHub Action for automated CSV traffic backups | ||
Gitlytics Web & Docs | Official Homepage, Docs Hub & Engineering Blog | |
Gitlytics Cloud Dashboard | Hosted Analytics Dashboard, Embed Studio & MCP OAuth Consent UI | |
Gitlytics Hosted API & MCP | 50-card / 200-logo SVG engine & Streamable HTTP MCP server ( |
Contributing, Security & License
Contributing: See
CONTRIBUTING.md.Security: See
SECURITY.md.License: Licensed under the Apache License 2.0 + Commons Clause v1.0. See
LICENSEfor full details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Privacy-first web analytics. Query pageviews, referrers, trends, and AI insights.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Ask an assistant about your website traffic. Privacy-first web analytics, no cookies. OAuth.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to access files and terminal of a local computer via a public HTTPS endpoint, secured with GitHub OAuth.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to perform GitHub analytics and management tasks, including repository analysis, PR summarization, issue triage, release notes generation, and contributor statistics.41 npmMIT
- AlicenseAqualityBmaintenanceEnables AI assistants to turn local git history into answers about recent activity, file hotspots, change coupling, stale or already-merged branches, contributors, ref comparisons, and drafted release notes. It runs locally over stdio with a git subcommand allowlist, so it is read-only, works offline and without shell access, and is safe to auto-approve.1380 npmMIT
- AlicenseAqualityBmaintenanceEnables AI clients to interrogate a local Git repository's history, surfacing change hotspots, per-author activity, files that change together, single-file commit history, and draft changelogs between refs. It is strictly read-only, requires no API keys, and returns structured data for the client to interpret.6MIT