OctoCounts

OctoCounts is a MCP server by huanglizhuo that sLOC counts for any public GitHub repository from any MCP client: files, code, comment and blank lines per language, plus side-by-side repo comparisons.

Updated 2026-10-17

What is OctoCounts?

OctoCounts is a MCP server by huanglizhuo that sLOC counts for any public GitHub repository from any MCP client: files, code, comment and blank lines per language, plus side-by-side repo comparisons. It is listed under Developer tools and has 17 GitHub stars.

TypeMcp server
Authorhuanglizhuo
Repositoryhuanglizhuo/OctoCounts
Popularity17 GitHub stars
CategoryDeveloper tools
SecurityLow risk (96/100)
Rank#1,397 of 4,418 MCP servers; #331 in Developer tools
LicenseMIT
Last commit2026-10-17
RunsLocally
LanguageTypeScript
PlatformsmacOS, Windows, Linux

Is OctoCounts safe to install?

OctoCounts scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 5 of 6 checks.

MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.

CheckResult
Community-built serverNote
Runs on your machine onlyPass
No credentials mentionedPass
Read-only by descriptionPass
No code executionPass
Source on GitHubPass

How do I install OctoCounts?

  1. Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
    https://github.com/huanglizhuo/OctoCounts
  2. Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
    claude mcp add octocounts -- <command from README>
    claude mcp add --transport http octocounts <server-url>
  3. Check it connected. This lists your MCP servers and their status.
    claude mcp list

Or ask Claude to set it up

Paste this into Claude Code and it installs OctoCounts for you:

Add the "OctoCounts" MCP server from https://github.com/huanglizhuo/OctoCounts to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.