Athena logo

Athena

Offline Git and AST analysis for breaking changes, caller impact, documentation drift, fixes, graphs, and affected-test prediction.

Install Athena

Pick your client, then add it in one click or paste the config.

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

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx athena-mcp

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

athena MCP server analyzes Git changes and repository structure locally through Python AST and Tree-sitter parsing. It exposes 15 MCP tools over stdio or loopback streamable HTTP, with scoped toolsets, read-only mode, resources, and workflow prompts. Use it to review staged changes, trace caller blast radius, predict affected tests, generate deterministic patches, and compact repository context for coding agents. Optional Ollama models and Rust acceleration can extend the local workflow.

Use cases

  • Review staged API changes before committing
  • Trace callers affected by a Git diff
  • Predict tests impacted by repository changes
  • Generate and inspect deterministic remediation patches
  • Compact repository context for coding agents

Key features

  • Git and AST breaking-change analysis
  • Caller blast-radius and code-graph queries
  • Documentation-drift detection
  • Deterministic safe and review-required fixes
  • Affected-test prediction
  • Local token-savings ledger

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · athena-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars29Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Athena works

What athena does

athena examines Git diffs and source trees to identify changes that may affect callers or public interfaces. Its analysis includes removed or modified symbols, possible signature changes, unguarded None defaults, unit-shift hints, recursion issues, documentation drift, and the distinction between internal-only and externally visible surfaces.

The tool also builds repository maps and code graphs, predicts tests likely to be affected by a diff, records technical-debt markers, and measures raw versus compacted token usage. It can produce evidence bundles, paged analysis views, SARIF, HTML, and unified diffs. Analysis is local-first and works without cloud APIs or a vector database.

How it works

A security and redaction layer applies path-jail and secret-redaction controls before analysis. Git inspection and AST processing then combine Python’s built-in AST support with optional Tree-sitter grammars for multiple languages. Supported graph and parsing coverage includes Python, TypeScript and JavaScript, Go, Rust, C and C++, C#, Java, Kotlin, Scala, Swift, Ruby, PHP, CUDA, and TeX.

Repository relationships are stored in .athena/graph.json, while compact evidence records use identifiers such as ev_<sha256>. Unresolved dynamic calls, including cases involving getattr or eval, remain explicitly tracked as residual unknowns rather than being treated as proven results. Large outputs can be requested in summary form and inspected later through paged views.

The default analysis is deterministic and offline. Ollama models can be enabled with --llm, and hybrid Rust acceleration is available for supported operations.

Setup and configuration

Clone the repository and install it as an editable Python package:

bash
git clone https://github.com/aaryanrwt/athena.git
cd athena
pip install -e ".[ast]"

The minimal installation can be used with pip install -e ., which provides a structural fallback. Athena expects Python 3.13 or newer, Git, and the MCP SDK. The athena doctor . command checks the local Python runtime, Git, MCP SDK, Tree-sitter, Rust acceleration, token ledger, evidence store, and repository state.

Start the MCP endpoint with a command such as:

bash
athena mcp --toolsets git,graph --read-only

The server supports stdio and loopback streamable HTTP. athena init-mcp cursor generates MCP configuration JSON for Claude Desktop, Cursor, or VS Code.

Tools and capabilities

  • Review staged changes and fail a pre-commit check when public APIs may break.
  • Compare Git revisions for breaking changes, affected callers, and documentation drift.
  • Build, search, and traverse a multi-language repository graph.
  • Export a compact repository map and measure local token savings.
  • Plan deterministic fixes and apply patches classified as safe or review_required.
  • Predict affected pytest, Playwright, Swift, Scala, and unit tests.
  • Inspect retained evidence, list debt markers, and generate reports.
  • Serve 15 MCP tools, five read-only resources or templates, and three guided prompts.

Limitations and notes

Dynamic calls and oversized files can remain unresolved and are recorded as residual unknowns. Deterministic fixes are not all equally automatic: safe patches can be applied, while shims and migration guides marked review_required need approval. Local LLM use is optional rather than part of the default analysis path. The HTTP transport is intended to be loopback-guarded.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Athena

athena is an MCP server that connects AI coding agents to local Git repositories and AST-based code intelligence. Its main tools analyze breaking changes, caller blast radius, documentation drift, affected tests, repository graphs, token savings, and deterministic fixes. It runs through stdio or loopback streamable HTTP, with optional read-only and toolset scoping.

Install it from a cloned repository with `pip install -e ".[ast]"`. Use `pip install -e .` for the minimal structural fallback, then run `athena mcp` with the desired toolsets and transport options.

Yes, athena supports Cursor configuration. Run `athena init-mcp cursor` to generate ready-to-paste MCP configuration JSON, or install its agent integration with `athena install --agent cursor`.

Yes, athena runs deterministically and offline by default. Ollama acceleration is optional and can be enabled with `--llm`; cloud APIs and vector databases are not required.

athena combines Git inspection, full-repository `git grep` filtering, Python AST analysis, and Tree-sitter parsing to scope callers and test impacts. The `affected-tests` command predicts impacted pytest, Playwright, Swift, Scala, and unit tests.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAthena AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/athena?style=directory)](https://allmcps.com/mcp/athena)
HTML Embed
<a href="https://allmcps.com/mcp/athena"><img src="https://allmcps.com/api/badge/athena?style=directory" alt="Athena on AllMCPs" /></a>