Repo-aware engineering change intelligence — detect your stack, monitor upstream releases, and get scored, actionable recommendations in your AI assistant.
Project description
AI Stack Radar
Repo-aware engineering change intelligence. AI Stack Radar detects the technologies your repository depends on, monitors upstream releases, classifies and scores each change for relevance to your codebase, and surfaces actionable recommendations — as a CLI, a local dashboard, or as an MCP tool inside Claude Code, Claude Desktop, Cursor, Windsurf, or any MCP-compatible AI assistant.
Instead of drowning in release notes, get answers like:
"There's a FastAPI 0.137 release with a security patch that affects your auth middleware. Pydantic v3 is in beta — monitor, don't adopt yet.
httpxshipped a breaking change toAsyncClient.send()— you use it in 3 places."
What it does
- Analyze — Parses
pyproject.toml,uv.lock,requirements.txt,package.json, and Dockerfiles to build aStackProfile. - Ingest — Fetches GitHub Releases (and issues/changelogs where useful) for each detected technology, with rate-limit-aware caching.
- Normalize — Classifies each event as
security,breaking,deprecation,feature, orbugfixusing regex heuristics plus optional LLM disambiguation. - Score — Computes deterministic
relevance,urgency,risk, andconfidencescores against your stack. - Recommend — Maps scored events to actions:
ignore,monitor,test_in_staging,create_migration_task,apply_security_patch,adopt_when_ready. - Report — Emits a briefing as text, JSON, or Markdown; serves an interactive dashboard; and exposes the whole pipeline as MCP tools for your AI assistant.
Quickstart
Install
pip install ai-stack-radar
With optional extras:
# LLM-enhanced classification and recommendations (Gemini)
pip install "ai-stack-radar[llm]"
# MCP server for AI assistant integration
pip install "ai-stack-radar[mcp]"
# Everything
pip install "ai-stack-radar[llm,mcp]"
Run the pipeline (CLI)
From the root of any repo:
# 1. See what got detected
ai-stack-radar analyze
# 2. Fetch upstream events (set GITHUB_TOKEN to raise the 60 req/hour limit)
export GITHUB_TOKEN=ghp_...
ai-stack-radar ingest --since 2026-01-01
# 3. Normalize and classify
ai-stack-radar normalize
# 4. Score against your stack
ai-stack-radar score
# 5. Get a briefing
ai-stack-radar report --format markdown --min-relevance 0.3
Or launch the dashboard:
ai-stack-radar dashboard
# → http://127.0.0.1:8000
Use inside Claude Code
Add AI Stack Radar as an MCP server. Create (or edit) .mcp.json in your repo root:
{
"mcpServers": {
"ai-stack-radar": {
"command": "ai-stack-radar-mcp"
}
}
}
Or, without a global install, run via uvx:
{
"mcpServers": {
"ai-stack-radar": {
"command": "uvx",
"args": ["--with", "ai-stack-radar[mcp]", "ai-stack-radar-mcp"]
}
}
}
Restart Claude Code. You can now ask:
- "What technologies does this repo use?"
- "Are there any updates I should know about?"
- "Show me only security updates in my stack."
- "Tell me more about that FastAPI event — why was it flagged?"
- "What would break if I upgraded httpx to the latest?"
- "Open the dashboard."
The assistant will invoke the right tool (analyze_stack, check_updates, get_briefing, get_event_detail, list_technologies, launch_dashboard) and summarize the result.
Use inside Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"ai-stack-radar": {
"command": "ai-stack-radar-mcp"
}
}
}
Restart Claude Desktop.
MCP tools
| Tool | What it does |
|---|---|
analyze_stack |
Scan dependency files and return the detected StackProfile. |
check_updates |
Run the full pipeline (analyze → ingest → normalize → score → briefing). The main power tool. |
get_briefing |
Re-filter cached scored events without re-running the pipeline. |
get_event_detail |
Full score breakdown, provenance, and recommendation for one event. |
list_technologies |
Quick stack overview — names, versions, sources. |
launch_dashboard |
Start the local web dashboard in a background thread and return the URL. |
Configuration
GITHUB_TOKEN— GitHub API token. Without one, ingestion is rate-limited to 60 req/hour.GEMINI_API_KEY— Enables LLM-enhanced classification and recommendations. Optional.- Cache location — platform user-cache directory (see
ai_stack_radar/config.py).
Development
git clone https://github.com/AndrewZhao86/AI-Stack-Radar.git
cd AI-Stack-Radar
uv sync --all-extras
uv run pytest
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_stack_radar-0.0.1.tar.gz.
File metadata
- Download URL: ai_stack_radar-0.0.1.tar.gz
- Upload date:
- Size: 56.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1dce02b6aa62778361010fdf76cec2d37bc6bf727b831872ade2764092a8b80f
|
|
| MD5 |
5b9191513bc5f4009527561af198df60
|
|
| BLAKE2b-256 |
4c90f57211397571b3be0d9741e85ef959d3c1d556b16b568bc68ef6c39aac0d
|
File details
Details for the file ai_stack_radar-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ai_stack_radar-0.0.1-py3-none-any.whl
- Upload date:
- Size: 77.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13dd2497c5820f40df2de564f5f286278551890a5770507ce292829d3e73477
|
|
| MD5 |
c4374ae5fd8b3fa39c53b54919ae8438
|
|
| BLAKE2b-256 |
2693c45e85c3a1542f7607cb946478ddc60ea074c553e6a8ecaea4c2b24f340e
|