Analyze and compare public GitHub repo line counts (SLOC) via OctoCounts, from any MCP client.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add octocounts -- npx -y octocounts-mcp~/.codex/config.toml
[mcp_servers.octocounts]
command = "npx"
args = ["-y", "octocounts-mcp"]
# codex mcp add octocounts -- npx -y octocounts-mcp~/.cursor/mcp.json
{
"mcpServers": {
"octocounts": {
"command": "npx",
"args": [
"-y",
"octocounts-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"octocounts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"octocounts-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"octocounts": {
"command": "npx",
"args": [
"-y",
"octocounts-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"octocounts": {
"command": "npx",
"args": [
"-y",
"octocounts-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"octocounts": {
"command": "npx",
"args": [
"-y",
"octocounts-mcp"
]
}
}
}