cloc Model Context Protocol (MCP) Server

GitHub

Cloc counts blank lines, comment lines, and physical lines of source code in many programming languages.

23,640 stars Perl Perl 1 file ยท ~17,368 tokens #cloc#count-lines#programming-language

cloc MCP Server

MCP server for AlDanial/cloc

Ready-to-Use Client Configurations
{
  "mcpServers": {
    "cloc": {
      "command": "npx",
      "args": [
        "-y",
        "@AlDanial/cloc"
      ]
    }
  }
}