Analyze and compare public GitHub repository line counts (SLOC) using OctoCounts from an MCP client. The server exposes OctoCounts SLOC reports to AI coding tools such as Claude and Cursor, and any MCP client.
🛠️ Key Features
- Provides an
analyze_repotool to count files, lines, code, comments, blanks, and languages for a public GitHub repo - Provides a
compare_repostool to compare two public GitHub repos or refs
🚀 Use Cases
- Generate code metrics (SLOC breakdown) for a public GitHub repository
- Compare SLOC and related counts between two public repositories or refs
⚡ Developer Benefits
- Works with any MCP client (including Claude and Cursor)
- Uses a single MCP server package published under
io.github.huanglizhuo/octocounts-mcp
⚠️ Limitations
- Operates on public GitHub repos only (as indicated by the tool descriptions)