
Test Intel
io.github.barissozudogruPublished by GitHub account barissozudogruv0.8.1Updated Oct 24, 2026
Coverage analysis, untested function detection and complexity scoring for TS and JS.
Overview
Analyzes local JavaScript and TypeScript coverage artifacts to find untested functions, score complexity, and suggest test cases.
- What you can do
- Reads local coverage files in lcov, Istanbul JSON, and Cobertura formats and reports which files, functions, lines, and branches remain uncovered. Additional tools find source functions without a matching test file, rank functions by cyclomatic complexity, branches, and loops, and suggest happy path, boundary, error, async, and type test cases. A separate command-line report tool and a GitHub Action produce the same priorities for CI. All analysis runs locally.
- When to use it
- Useful when a JS or TS project already produces coverage output and you want help deciding which uncovered code deserves tests first. It fits local review sessions in an MCP client and CI runs that pass an existing coverage artifact. It is not a replacement for native coverage data or human review.
- Requirements
- Runs as a local stdio process via npx, so Node.js 18 or newer is required. No account, API key, or hosted service is needed, and no environment variables are declared. File access is limited to the directory where the server starts; an optional HTTP mode listens on localhost and honors PORT.
Installation
In SourceWeft
- Open Test Intel in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
[npm version] [npm downloads] [CI] [MCP Registry] [MIT license]
test-intel-mcp
Turn JavaScript and TypeScript coverage artifacts into practical test priorities. The server reads local coverage and source files, identifies gaps, scores function complexity, and suggests focused test cases without sending code to an external service.
Tool page · npm · Listed in the official MCP Registry
[test-intel-mcp analyzing real p-limit coverage]
Start in one minute
Add one local server entry to any stdio-compatible MCP client:
Then ask the client to inspect an existing coverage file:
No account, API key, or hosted service is required. File access is restricted to the directory where the server starts.
Proof on this repository
Running the complexity tool against the real src/paths.ts file produces:
The same server reads lcov, Istanbul JSON, and Cobertura files to surface uncovered functions, lines, and branches.
A pinned p-limit 7.3.1 case study reproduces
coverage from the upstream project's 22 passing tests. test-intel-report
reduces its lcov artifact to two uncovered lines and one uncovered branch while
preserving the original coverage file for inspection.
If this saves you time, consider starring the repository. It helps other developers find it.
Tools
Supported coverage formats:
Heuristic source-to-test matching and complexity scores are prioritization signals. Native coverage data and human review remain the source of truth.
Coverage report command
The package also includes a non-MCP command for CI and terminal use:
An explicit format can be supplied when the filename is ambiguous:
GitHub Action
Generate coverage with the project's own test runner, then pass the resulting artifact to the action:
The report is written to the workflow summary. The action analyzes an artifact that already exists and does not upload source or coverage data.
Client setup
Claude Desktop, Cursor, Windsurf, Cline, and similar clients
Use the stdio configuration from the quickstart. Config file locations differ by client, but the server entry is the same:
VS Code with Copilot
Create .vscode/mcp.json:
Streamable HTTP
Start the local endpoint:
The MCP endpoint is http://localhost:3000/mcp and the health endpoint is http://localhost:3000/health. Set PORT to use another port.
Docker
Connect an HTTP client to http://localhost:3000/mcp.
Local development
Requirements: Node.js 18 or newer.
See CONTRIBUTING.md for the development workflow.
Security and limits
- Analysis runs locally and does not require network access.
- Paths outside the server's starting directory are rejected.
- Function discovery, source-to-test matching, and complexity scoring are heuristic.
- A missing matching test filename does not prove a function is behaviorally untested.
License
Source: README.md at commit 4e2364e
Tools
0Version history
1- v0.8.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts