Your First Graph
Once SpecShip is installed, building and exploring a graph takes three commands.
Index a project
Section titled “Index a project”cd your-projectspecship init -i # initialize + index in one stepinit creates the .specship/ directory; -i (or --index) immediately builds the full index. For an existing project you can re-index any time:
specship index # full indexspecship sync # incremental update of changed filesCheck it worked
Section titled “Check it worked”specship statusThis reports the node/edge/file counts, the active SQLite backend, and the journal mode — a quick health check that the index is ready.
Run a query
Section titled “Run a query”specship query UserService # find symbols by namespecship callers handleRequest # what calls a functionspecship callees handleRequest # what a function callsspecship impact AuthMiddleware # what a change would affectspecship files --filter src/auth # scoped file structure from the indexEach accepts --json for machine-readable output. See the full CLI reference.
Hand it to your agent
Section titled “Hand it to your agent”With a .specship/ directory present and an agent configured (see Installation), your agent uses the MCP tools automatically — no extra step.