Repocrunch

by kimwwk

9 stars
304 downloads
Not rated
GitHub Website

About

Deterministic analyzer that turns GitHub repos into structured JSON

Details

Author
kimwwk
GitHub stars
9
Downloads
304
Categories
Developer Tools

- Analyzes any public GitHub repository into structured JSON
- Detects tech stack, dependencies, architecture, health, and security
- Provides a CLI, Python library, REST API, and MCP server
- Fully deterministic — no AI or LLM involved
- Supports 40+ frameworks across multiple ecosystems
- Optional GitHub token raises API limit to 5,000 calls/hour

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Repocrunch
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via pip: pip install repocrunch (requires Python 3.11+). Then use the CLI: repocrunch analyze owner/repo --pretty or start the MCP server with repocrunch mcp. Optionally set a GitHub token via export GITHUB_TOKEN=... for higher rate limits and private repo access. Use the Python library with from repocrunch import analyze or the REST API by running repocrunch serve.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "repocrunch": {
            "repocrunch": {
                "command": "repocrunch",
                "args": [
                    "mcp"
                ]
            }
        }
    }
}

McpServers

{
    "repocrunch": {
        "command": "repocrunch",
        "args": [
            "mcp"
        ]
    }
}

RepoCrunch

PyPI
Python
License: MIT

Analyze any public GitHub repository into structured JSON. No AI, no LLMs — fully deterministic.

Give it a repo, get back tech stack, dependencies, architecture, health metrics, and security signals in clean, consistent JSON. Use it as a Python library, CLI tool, REST API, or MCP server.

Quick Start

Requires Python 3.11+.

pip install repocrunch
repocrunch analyze fastapi/fastapi --pretty

That's it. Also works with uv:

uvx repocrunch analyze astral-sh/uv --pretty

Install from source

git clone https://github.com/kimwwk/repocrunch.git
cd repocrunch
uv venv && uv pip install -e ".[all]"

Install just what you need:

uv pip install -e "."          # Library only (httpx + pydantic)
uv pip install -e ".[cli]"     # + CLI
uv pip install -e ".[api]"     # + REST API
uv pip install -e ".[mcp]"     # + MCP server
uv pip install -e ".[all]"     # Everything

Set a GitHub Token (optional)

Without a token you get 60 API calls/hour. With one, 5,000/hour. A token also lets you analyze private repositories you have access to.

export GITHUB_TOKEN=ghp_...

Usage

CLI

repocrunch analyze fastapi/fastapi --pretty          # Full analysis, pretty JSON
repocrunch analyze facebook/react -f tech_stack       # Single field
repocrunch analyze https://github.com/gin-gonic/gin   # Full URL works too
repocrunch serve                                       # Start REST API on :8000
repocrunch mcp                                         # Start MCP server (STDIO)

Python Library

```python
from repocrunch import analyze, analyze_sync

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.