# Code Line Counter

> Use this tool when you need to track code metrics over time, such as total lines, code lines, comment lines, and empty lines, across different file types. It solves problems like monitoring codebase growth, tracking development progress, and logging code metrics for continuous integration pipelines. The tool takes in code files as input and outputs JSON-formatted data with timestamped entries, making it ideal for development workflow integration and automated build systems.

Canonical page: https://skillsregistry.net/skills/fashionzzz-code-line-counter  
JSON: https://api.skillsregistry.net/v1/skills/fashionzzz-code-line-counter

## Description

This MCP server provides code line counting functionality with persistent data storage, tracking total lines, code lines, comment lines, and empty lines across different file types with timestamped entries stored in JSON format. Built with Node.js and the Model Context Protocol SDK, it features a simple architecture with data persistence in a local JSON file and appears designed for development workflow integration where tracking code metrics over time is valuable. The implementation focuses on basic line counting statistics and historical data retention, making it useful for developers monitoring codebase growth, project managers tracking development progress, or automated build systems that need to log code metrics as part of continuous integration pipelines.

## Trust

- **Trust score (0–1):** 0.64
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** devops-ci
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/fashionzzz-code-line-counter)
- **Repository:** <https://github.com/fashionzzz/code-line-counter-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "fashionzzz-code-line-counter"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/fashionzzz-code-line-counter` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/fashionzzz-code-line-counter/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
