Feedback

Basic information

Runtime
TypeScript
Version
1.3.0
License
AGPL-3.0-only
Transports
stdio
Author
shiftinbits
Submitted by
Community
Quality
25
Stars
3

About Constellation MCP Server

Your AI agents don't understand your codebase. Upgrade from text search to code understanding.

Constellation is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by ShiftinBits. It exposes 1 tool, including code_intel. Supported transport: stdio. Runtime: TypeScript. License: AGPL-3.0-only. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: agentic-ai, ai, ai-driven-development, code, code-graph.

Setup

{
    "mcpServers": {
        "constellation": {
            "command": "npx",
            "args": [
                "-y",
                "@constellationdev/mcp@latest"
            ],
            "env": {
                "CONSTELLATION_ACCESS_KEY": "${CONSTELLATION_ACCESS_KEY}"
            }
        }
    }
}

Constellation MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "constellation": {
            "command": "npx",
            "args": [
                "-y",
                "@constellationdev/mcp@latest"
            ],
            "env": {
                "CONSTELLATION_ACCESS_KEY": "${CONSTELLATION_ACCESS_KEY}"
            }
        }
    }
}

Constellation MCP Server tools

  • code_intel — DECISION RULE: Structure questions → this tool. Text search → Grep. Before using Grep, ask: Is this a STRUCTURE question (definitions, callers, impact) or a TEXT question (strings, config)? QUICK START: `return await api.searchSymbols({query: "AuthService"})` — simple queries are one-liners. Run `api.listMethods()` for full API reference with signatures and descriptions. Run `api.help("methodName")` for inline TypeScript type definitions — no resource reads needed. Compose: `const [impact, deps] = await Promise.all([api.impactAnalysis({symbolId}), api.getDependents({filePath})]);` WHY THIS TOOL: Graph-backed intelligence finds indirect relationships, transitive dependencies, and breaking change risks that text search cannot detect. "What uses X?" disambiguation: getDependents (file imports) vs getCallGraph (call chain) vs traceSymbolUsage (all usages). USE IMMEDIATELY WHEN: • BEFORE using Edit on a function/class → run impactAnalysis({symbolId}) first • BEFORE exploring an unfamiliar codebase → run getArchitectureOverview() • BEFORE refactoring → trace getDependencies + getDependents for blast radius • Running 3+ Grep calls for structure? STOP → use code_intel instead TOP 5 QUESTIONS (query is case-insensitive substring match): • "Where is X defined?" / "Find function Y" → searchSymbols({query}) • "What calls X?" / "What imports this?" → getDependents({filePath}) or getCallGraph({symbolId}) • "What does X depend on?" → getDependencies({filePath}) • "Safe to modify X?" / "Blast radius?" → impactAnalysis({symbolId}) • "Find dead code" / "Unused exports?" → findOrphanedCode() • "Complex functions?" / "Refactoring targets?" → searchSymbols results include complexity.cyclomaticComplexity + complexityRisk per function NOT FOR: literal string search, log messages, config values, or reading source code. Use Grep/Glob/Read for those. Supports TypeScript, JavaScript, Python, and more — run api.getCapabilities() to check your project. WRONG TOOL SIGNAL: If you've run 3+ Grep calls for structure (callers, dependencies, impact), STOP and use code_intel instead. Typical workflow: code_intel to find (results include source snippets) → Edit to modify IMPORTANT: The `cwd` parameter is required — always set it to the target project directory path.
    code:string*, cwd:string*, timeout:number

Overview

What is Constellation?

Constellation turns your codebase into a queryable code graph. AI assistants get real structural understanding of your software (definitions, callers, dependencies, impact) instead of guessing from text matches.

How to use Constellation?

Index your project with the Constellation CLI, then call the single code_intel tool. The assistant writes short JavaScript against the api object (for example api.searchSymbols, api.getDependents, api.impactAnalysis) and can chain or parallelize calls to answer complex questions in one round trip.

Key features of Constellation

  • Graph-backed answers, not token-wasting a grep loop
  • One code_intel tool with a composable JavaScript API
  • Multi-project workspaces, resolved by git root
  • Fast: parallel queries, inline source snippets
  • Sandboxed execution with memory limits
  • Privacy by design: source code never leaves your environment

Use cases of Constellation

  • Find where a symbol is defined and everywhere it's used
  • Gauge the blast radius of a change before editing
  • Detect circular dependencies and dead code
  • Trace execution through the call graph

Frequently asked questions

1 How is this different from text search?

Text search finds strings. Constellation knows what a symbol is, who calls it, and what breaks if it changes.

2 Does my source code leave my machine?

No. Code is parsed locally and only compressed structural metadata is uploaded.

3 How do I set it up?

Set CONSTELLATION_ACCESS_KEY and add the server via npx -y @constellationdev/mcp, or install an official Constellation plugin (recommended). Setup guides: https://docs.constellationdev.io/mcp/#installation

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬