LocalFree

OctoCounts MCP server

huanglizhuo/OctoCounts

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.

20 GitHub stars3 forks538 npm downloads / month

Install OctoCounts in Claude Code

Claude Code
claude mcp add octocounts -- npx -y octocounts-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "octocounts": {
      "command": "npx",
      "args": [
        "-y",
        "octocounts-mcp"
      ]
    }
  }
}

Frequently asked questions

What does the OctoCounts MCP server do?

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.

Is the OctoCounts MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does OctoCounts run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add OctoCounts to Claude Code?

Run: claude mcp add octocounts -- npx -y octocounts-mcp

More developer tools MCP servers

View all