Skip to content
MCP server
Registry

DevInsight MCP Server

Read-only MCP server to inspect Git repos: code stats, TODOs, commits, health score, tech stack

DevInsight MCP scores 29 (Limited), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Version control. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by azalhoseinianMITPython0 stars
Trust score
29Limited
Trust score 29 of 100, Limited

Limited trust

29 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 29 comes from

0 + 6 + 0 + 10 + 10 + 3 = 29. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance6 / 20

How recently the repository saw a commit or release.

Maintenance: 6 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security10 / 10

Not archived, a secure install path, a pinned version.

Security: 10 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "azalhoseinian-devinsight-mcp": {      "command": "uvx",      "args": [        "devinsight-mcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

DevInsight MCP

License: MIT PyPI Python 3.10+ MCP Tests

A lightweight Model Context Protocol (MCP) server that gives Claude the ability to inspect, analyze, and grade local Git repositories.

Built with Anthropic's official Python MCP SDK, DevInsight demonstrates all three MCP primitives โ€” Tools, Resources, and Prompts โ€” through practical developer workflows: language stats, TODO tracking, git history, large-file detection, an overall repo health score, and technology-stack fingerprinting.


Demo

DevInsight demo

A live session driving the DevInsight tools against this very repository โ€” repo stats, TODO scan, and large-file detection.


โœจ Features

  • ๐Ÿ“Š Repository statistics โ€” languages, file counts, line counts
  • ๐Ÿ“ Scan projects for TODO, FIXME, HACK, and XXX
  • ๐Ÿ“œ Summarize recent Git commits (author, date, message, +/- lines)
  • ๐Ÿ“ Detect oversized source files that are due for a refactor
  • ๐Ÿฉบ Score overall repository health (README/LICENSE/tests/git, TODO density, file size) with concrete recommendations
  • ๐Ÿงฐ Fingerprint a project's tech stack โ€” languages, frameworks, databases, package managers, CI/CD, deployment
  • ๐ŸŒณ Browse repositories through an MCP Resource
  • ๐Ÿค– Review and prioritize TODOs using an MCP Prompt

Scanning automatically skips noise: .git, .github, node_modules, virtualenvs, build/cache directories, lock files, and binary assets โ€” see Repository Scanning below.


Why DevInsight?

Developers spend a surprising amount of time manually inspecting repositories:

  • searching for TODOs
  • checking Git history
  • counting files
  • finding oversized modules
  • judging whether a project is in good shape before diving in

DevInsight exposes these tasks as MCP tools so Claude can perform them for you, directly in conversation.

Instead of manually searching your project, you can simply ask:

"Summarize the last 10 commits."

"Find every TODO and tell me which ones are most important."

"Which files are becoming too large?"

"How healthy is this repo, and what should I fix first?"

"What's the tech stack of this project?"


Installation

Install from PyPI (easiest)

pip install devinsight-mcp
devinsight-mcp        # runs the server over stdio

Or run it without installing, using uv:

uvx devinsight-mcp

From source (development)

Clone the repository

git clone https://github.com/AzalHoseinian/devinsight-mcp.git
cd devinsight-mcp

Create a virtual environment

python3 -m venv .venv
source .venv/bin/activate

Windows:

.venv\Scripts\activate

Install dependencies

pip install -r requirements.txt

Run the tests

pip install pytest
python -m pytest -q

Try it with the MCP Inspector

The easiest way to test the server standalone is with the official MCP Inspector:

mcp dev server.py

The Inspector lets you invoke every Tool, inspect Resources, test Prompts, and debug raw responses โ€” all in the browser, no client app required.


Claude Desktop Setup

Add DevInsight to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Easiest (uses uvx):

{
  "mcpServers": {
    "devinsight": {
      "command": "uvx",
      "args": ["devinsight-mcp"]
    }
  }
}

From a clone:

{
  "mcpServers": {
    "devinsight": {
      "command": "/absolute/path/to/devinsight-mcp/.venv/bin/python3",
      "args": [
        "/absolute/path/to/devinsight-mcp/server.py"
      ]
    }
  }
}

If you installed the command with pip install . or pip install devinsight-mcp, you can point Claude Desktop at it instead:

{
  "mcpServers": {
    "devinsight": {
      "command": "/absolute/path/to/devinsight-mcp/.venv/bin/devinsight-mcp"
    }
  }
}

Using the virtual environment's Python interpreter (rather than a bare python) ensures Claude Desktop finds the mcp package regardless of what's active in your shell.

Fully quit and reopen Claude Desktop afterwards โ€” it only reads this file on startup. Then try:

Use repo_stats on ~/projects/my-app

or

Review all TODOs in this repository.


Security notes

DevInsight is read-only: it never writes, deletes or executes anything from the repositories it scans. The only external command it runs is git log with a fixed argument list.

It can, however, read any path you give it that your user account can read, so only connect it to clients you trust. It does not follow symlinked directories when drawing the tree, and it skips lock files and binaries in statistics.


Available Tools

PrimitiveNamePurpose
Toolrepo_statsLanguage and line-count breakdown
Toolfind_todosFind TODO / FIXME / HACK / XXX comments
Toolgit_log_summarySummarize recent Git activity
Toolfind_large_filesDetect files exceeding a configurable size
Toolrepo_healthOverall 0-100 health score with recommendations
Tooltech_stackDetect languages, frameworks, databases, package managers, CI/CD, deployment
Resourcerepo://tree/{path}Render the repository tree
Promptreview_todosAsk Claude to prioritize TODOs

Usage examples

repo_stats(path="~/projects/my-app")
โ†’ { "total_files": 142, "total_lines": 18734,
    "by_extension": { ".ts": {...}, ".tsx": {...}, ... } }

find_todos(path=".", max_results=50)
โ†’ [ { "file": "src/api.ts", "line_number": 42,
      "tag": "TODO", "text": "handle retry backoff" }, ... ]

git_log_summary(path=".", count=5)
โ†’ { "commits": [ { "hash": "a1b2c3d4", "author": "...", 
      "date": "2026-07-10", "message": "...", 
      "insertions": 12, "deletions": 3 }, ... ] }

find_large_files(path=".", threshold_lines=300)
โ†’ [ { "file": "src/legacy/parser.py", "lines": 812 }, ... ]

repo_health(path=".")
โ†’ { "score": 78,
    "checks": { "has_git": true, "has_readme": true,
                "has_license": true, "has_tests": false },
    "recommendations": [ "Add a test suite ..." ] }

tech_stack(path=".")
โ†’ { "languages": ["Python"], "frameworks": ["FastAPI"],
    "databases": ["PostgreSQL"], "package_managers": ["pip"],
    "ci_cd": ["GitHub Actions"], "deployment": ["Docker"] }

Repository Scanning

Statistics tools (repo_stats, find_todos, find_large_files, repo_health) walk the repo while pruning directories as they go โ€” ignored subtrees are never descended into.

Ignored directories: .git, .github, node_modules, venv, .venv, env, __pycache__, dist, build, .next, .nuxt, .svelte-kit, .idea, .vscode, target, coverage, htmlcov, .pytest_cache, .mypy_cache, .cache

Excluded from statistics: lock files (package-lock.json, pnpm-lock.yaml, yarn.lock, poetry.lock, Cargo.lock, Gemfile.lock, composer.lock, uv.lock, bun.lockb) and binary assets (.png, .jpg, .jpeg, .gif, .pdf, .zip, .exe, .dll) โ€” these are real project content, but noise in line/size stats.

tech_stack looks at these same files directly, since a lock file's mere presence is a useful package-manager signal.


Architecture

               Claude Desktop
                      โ”‚
                      โ–ผ
             DevInsight MCP Server
                      โ”‚
      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
      โ–ผ               โ–ผ               โ–ผ
 Git Repository   File System     Git History

Project Structure

devinsight-mcp/
โ”œโ”€โ”€ devinsight_mcp.py      # implementation (installed as the `devinsight-mcp` command)
โ”œโ”€โ”€ server.py              # thin launcher for `mcp dev server.py`
โ”œโ”€โ”€ tests/
โ”œโ”€โ”€ .github/workflows/test.yml
โ”œโ”€โ”€ pytest.ini
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ docs/
โ”‚   โ”œโ”€โ”€ demo.gif
โ”‚   โ”œโ”€โ”€ demo.tape
โ”‚   โ””โ”€โ”€ demo_cli.py
โ””โ”€โ”€ .gitignore

Roadmap

  • Repository statistics
  • TODO scanner
  • Git history summaries
  • Large file detection
  • Repository tree resource
  • TODO review prompt
  • Overall repo health score
  • Tech stack detection
  • Test suite and CI
  • Optional allowlist of readable root directories
  • Lint summary tool
  • GitHub Issues integration
  • Dependency vulnerability analysis
  • Pull request insights

Tech Stack

  • Python
  • Anthropic MCP Python SDK
  • Git
  • Claude Desktop
  • Model Context Protocol (MCP)

Contributing

Contributions, suggestions, and feedback are welcome.

If you'd like to improve DevInsight, feel free to open an issue or submit a pull request.


License

MIT โ€” see LICENSE.

Frequently asked questions

What is DevInsight MCP Server?

Read-only MCP server to inspect Git repos: code stats, TODOs, commits, health score, tech stack

How do I install DevInsight MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. DevInsight MCP Server runs locally from the PyPI package devinsight-mcp with the command uvx devinsight-mcp.

Is DevInsight MCP Server free and open source?

Yes. DevInsight MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does DevInsight MCP Server support remote (HTTP) connections?

No remote endpoint is listed for DevInsight MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is DevInsight MCP Server's trust score calculated?

DevInsight MCP Server scores 29 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server