New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

octocounts-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

octocounts-mcp

MCP server that gives AI coding assistants access to OctoCounts SLOC reports — analyze and compare public GitHub repositories without cloning.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

OctoCounts MCP Server

Expose OctoCounts SLOC reports to AI coding tools (Claude, Cursor, and any MCP client).

Tools:

  • analyze_repo: count files, lines, code, comments, blanks, and languages for a public GitHub repo.
  • compare_repos: compare two public GitHub repos or refs.

Usage

Run via npx (no install needed):

{
  "mcpServers": {
    "octocounts": {
      "command": "npx",
      "args": ["-y", "octocounts-mcp"]
    }
  }
}

Or from a local checkout:

{
  "mcpServers": {
    "octocounts": {
      "command": "node",
      "args": ["/absolute/path/to/OctoCounts/mcp/src/index.js"],
      "env": {
        "OCTOCOUNTS_API_BASE": "https://api.octocounts.com"
      }
    }
  }
}

OCTOCOUNTS_API_BASE defaults to https://api.octocounts.com.

Local protocol smoke test:

node mcp/src/index.js

The server speaks MCP over stdio with Content-Length framed JSON-RPC messages.

License

MIT

Keywords

mcp

FAQs

Package last updated on 29 Aug 2026

Related posts