Attocode logo

Attocode

by eren23

Indexes local or committed repositories for code search, navigation, impact analysis, reviews, and test suggestions.

Install Attocode

Run the project’s own setup commands, in order.

Setup steps from the project

eren23/attocode installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    uv tool install ./packages/code-intel
    
  2. 2. Add to your MCP client
    attocode-code-intel init --client all
    
  3. 3. Check the setup
    attocode-code-intel doctor --client codex
    
  4. 4. Add to your MCP client
    attocode-code-intel init --global --client codex
    
  5. 5. Check the setup
    attocode-code-intel doctor --global --client codex --project /path/to/repo
    
  6. 6. Install
    uv tool install attocode-code-intel
    

Overview

eren23/attocode connects coding agents to a local working tree or a self-hosted service that analyzes committed repositories. Its MCP tools provide bootstrap context, symbol and reference lookup, dependency and impact analysis, test suggestions, change review, and optional flow tracing. AST navigation and keyword search run without a model API key, while embeddings, graph analysis, and team hosting are optional. Use it when an agent needs repository-aware guidance before changing code.

Use cases

  • Bootstrap context before modifying an unfamiliar codebase
  • Find callers and tests for a symbol
  • Review a Git change for affected imports and definitions
  • Trace static caller paths through a repository
  • Share reviewed codebase learnings with a team

Key features

  • Task-oriented repository bootstrap
  • AST navigation and keyword search
  • Caller, dependency, and impact analysis
  • Structured change review and test suggestions
  • Local learning storage and feedback
  • Local stdio and remote Streamable HTTP MCP

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.

4/4 checks healthy over the last 13d

Adoption & maintenance

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

GitHub stars17Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Attocode works

What eren23/attocode does

The attocode-code-intel package gives MCP clients structured insight into a codebase. It can locate a symbol’s source, find callers and references, inspect dependencies, identify likely effects of a change, and suggest candidate tests. The bootstrap operation provides task-oriented context, including relevant code, repository structure, recalled knowledge, and index coverage within a token budget.

The engine supports both local development and shared team deployments. A local installation works from a project’s working tree. A self-hosted deployment analyzes committed branches or explicit revisions and can serve multiple repositories through a Streamable HTTP MCP endpoint. Shared knowledge includes authorship, revisions, file anchors, repository identity, source commit, and index coverage.

How it works

Install the package with uv, then initialize the MCP connection for Codex, Claude Code, Cursor, or all supported clients. Project and global configurations are available. Project-level setup can also install managed agent instructions. Restart the agent after installation.

For routine work, start with bootstrap(task_hint="..."), then use targeted searches and analysis operations. File watchers and per-operation checks account for edits, additions, deletions, and import-only changes. If watching is disabled, notify_file_changed can refresh the index explicitly. Persistent learnings are stored in .attocode/cache/memory.db, allowing agents to reuse local knowledge.

The change investigation workflow combines a Git diff with changed definitions, caller evidence, import effects, and candidate tests. The trace command follows static caller paths and can export JSON or Markdown evidence. Remote repository searches use explicitly selected authorized repositories and preserve result provenance.

Setup and configuration

The local package requires Python 3.12 or newer and Git. From a checkout, install it with uv tool install ./packages/code-intel, change to the target project, and run attocode-code-intel init --client all. doctor checks a selected client configuration. The published package can instead be installed with uv tool install attocode-code-intel.

Use --global for a configuration shared across repositories, or select a project-specific setup with --client claude or --client cursor. Profiles control the exposed tool catalog: daily is the default for new installations and direct invocations, while full adds features such as rules, security analysis, history, retrieval pins, snapshots, overlays, and cache maintenance. lean is an opt-in local profile.

For a remote deployment, provide the service URL and repository UUID during initialization. The agent environment must contain ATTOCODE_API_KEY; analysis access uses intelligence:read, while knowledge changes also require intelligence:write. The service exposes MCP at /mcp/ and uses PostgreSQL, Redis, workers, authentication, and a dashboard.

Tools and capabilities

Depending on the selected profile, capabilities include:

  • bootstrap for task-specific repository context
  • Symbol, caller, reference, dependency, and impact analysis
  • review_change for structured findings and failed analysis passes
  • change_context and trace_flow in the local full profile
  • record_learning, recall, update_learning, and learning_feedback in the full profile
  • capabilities to report the active catalog and optional enhancements
  • Cross-repository search for authorized repositories

The compact daily profile is intended for ordinary installations. Local full-profile MCP adds the extended change and flow tools, while remote profiles remain daily or full according to the deployment configuration.

Limitations and notes

AST navigation and keyword search do not require a model API key. Local embedding search, graph analysis, and team hosting are optional additions rather than prerequisites for the core local workflow. Remote calls operate on committed branches or explicit revisions, whereas local edits stay local unless a learning is deliberately shared.

Repository operations in a shared service check membership and scope before using cached analysis. Global servers may need an explicit workspace or repository root when a client exposes multiple roots. Cursor’s automatic instruction file remains project-scoped even when its MCP connection is global.

The repository’s older coding agent, TUI, swarm, and lessons are archived separately. The active product is the standalone attocode-code-intel intelligence engine, MCP implementation, REST layer, workers, and dashboard.

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 Attocode

eren23/attocode is an MCP server that connects coding agents to a local working tree or a self-hosted service analyzing committed repositories. Its main tools support bootstrap, symbol search, references, dependency and impact analysis, test suggestions, change review, and optional trace workflows. AST navigation and keyword search run without an API key.

Install it with `uv tool install attocode-code-intel`, then run `attocode-code-intel init --client all` from the project you want to analyze. A checkout can be installed with `uv tool install ./packages/code-intel`. Run `doctor` for a selected client and restart the agent after initialization.

Yes, eren23/attocode can configure Cursor with `attocode-code-intel init --client cursor`. Run initialization in each project where Cursor should receive its project-scoped instruction file, including cases where the MCP server connection is configured globally.

No, local AST navigation and keyword search work without a model API key. Remote team deployments require `ATTOCODE_API_KEY`, and shared knowledge changes additionally require the `intelligence:write` permission.

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 PreviewAttocode AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/eren23-attocode?style=directory)](https://allmcps.com/mcp/eren23-attocode)
HTML Embed
<a href="https://allmcps.com/mcp/eren23-attocode"><img src="https://allmcps.com/api/badge/eren23-attocode?style=directory" alt="Attocode on AllMCPs" /></a>