Gives Claude and other AI coding assistants structural awareness of your codebase without sending actual source code. You run the Constellation CLI locally to parse and upload metadata about functions, classes, imports, and their relationships to a knowledge graph service. The MCP server then lets your AI assistant query that graph to understand code structure, trace dependencies, and navigate relationships across files and branches. Useful when you want your AI to reason about large codebases intelligently but don't want to paste entire files into context or expose proprietary code. Requires a Constellation account and API key. The CLI handles analysis, the MCP handles queries.
Give your AI coding assistant instant, intelligent access to your entire codebase's structure, dependencies, and relationships without transmitting any source code. Constellation provides code intelligence as a service to AI coding assistant tools.
Add the Constellation MCP server to your AI assistant project-level config (or system-level if your tooling doesn't support project-level configuration):
{
"mcpServers": {
"constellation": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@constellationdev/mcp@latest"],
"env": {
"CONSTELLATION_ACCESS_KEY": "${CONSTELLATION_ACCESS_KEY}"
}
}
}
}
[!NOTE]
The above example is a generic format for the.mcp.jsonfile used by some tools such as VSCode and Claude Code.Rather than directly configuring the MCP server, it is recommended to install and utilize official Constellation Plugins for optimal performance and behavior!
For information on configuring other AI assistants see the MCP Server > Installation doc.
For further instructions regarding authentication, project setup, and configuration refer to the official docs.
%%{init: {'theme': 'dark', 'themeVariables': { 'primaryColor': '#4A90E2', 'primaryTextColor': '#EEEEEE', 'primaryBorderColor': '#2B2C34', 'lineColor': '#4A90E2', 'secondaryColor': '#1F1F28', 'tertiaryColor': '#0B0C10', 'edgeLabelBackground': '#1F1F28' }}}%%
flowchart LR
subgraph local["💻 Your Environment"]
direction TB
code["📂 Source Code"]
cli["⚙️ Constellation CLI"]
ai["🤖 AI Coding Assistant"]
mcp["🧩 Constellation MCP"]
code --> cli
end
subgraph cloud["✨ Constellation Service"]
direction TB
api["🔌 API"]
graphdb[("🧠 Knowledge Graph")]
api <--> graphdb
end
cli a1@-->|"Metadata Upload"| api
ai <-->|"Tool Calls"| mcp
mcp a2@<-->|"Queries"| api
a1@{ animation: fast }
a2@{ animation: fast }
style local fill:#1F1F28
style cloud fill:#1F1F28,stroke:#4A90E2
style cli stroke:#4A90E2
style mcp stroke:#4A90E2
style api stroke:#4A90E2
style graphdb stroke:#4A90E2
Find the full and comprehensive documentation at docs.constellationdev.io/mcp/
For comprehensive information regarding privacy and security, see the official Privacy & Security documentation.
AGPL-3.0 - See LICENSE for details.
Copyright © 2026 ShiftinBits Inc.
CONSTELLATION_ACCESS_KEY*secretYour Constellation access key