copilot-graph-spec
Copilot-native spec-driven development (SDD) workflow — constitution → specify → plan → tasks → analyze → implement — backed by a local Python
MCP server that serves a unified graph of your code structure and
spec/artifact traceability.
The differentiator is context efficiency: agents query the graph for
pointers (path + line span + signature) and fetch only the exact spans
they need via graph_read_span — they never read whole files. That's what
keeps context small on large projects.
Install
pip install copilot-graph-spec # or: uv tool install copilot-graph-spec
cd /path/to/your-project
copilot-graph-spec init # scaffold .vscode/mcp.json, .github/{agents,prompts,
# instructions}, spec/{constitution.md,templates}
copilot-graph-spec index . # build .graph/graph.db
copilot-graph-spec embed # populate embeddings for hybrid search
What you get
- 8
graph_*MCP tools for pointer-based code + spec exploration (search, outline, symbol lookup, neighbors, impact/blast-radius, subgraph, exact-span reads, spec↔code traceability). - Hybrid search — FTS5 lexical, fused with sqlite-vec semantic search (reciprocal-rank fusion) once embeddings are computed.
- Language-agnostic indexing via tree-sitter (Python, JavaScript, TypeScript, TSX out of the box; pluggable for more).
- Traceability graph over
spec → requirement → plan_item → task, with automatic coverage-gap detection. - Incremental indexing and a polling
watchmode. - 5-stage SDD workflow as VS Code custom agents + prompts, wired to the graph tools.
Full documentation, architecture, CLI reference, and the user manual live in the GitHub repository — see the README and docs/USER_GUIDE.md.
Licensed under MIT.
Release files for copilot-graph-spec 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| copilot_graph_spec-0.1.2.tar.gz | 196.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| copilot_graph_spec-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 239.6 kB
Release files / copilot_graph_spec-0.1.2.tar.gz
| Download URL | copilot_graph_spec-0.1.2.tar.gz |
|---|---|
| Size | 196.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bffff0818f1db891120146c2b2761e7914a309fd3d9038c5565e252380492932
|
|
BLAKE2b-256 checksum How to use checksums |
961c07d304dd30b9df9d7832855663d3a72834b9ec4d70be32819d4fb27629a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency logRelease files / copilot_graph_spec-0.1.2-py3-none-any.whl
| Download URL | copilot_graph_spec-0.1.2-py3-none-any.whl |
|---|---|
| Size | 43.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
292f1de36388c5efbb9215cc0e95db9316913293317ccceb439c84a4851ab690
|
|
BLAKE2b-256 checksum How to use checksums |
2fb1d4bc1ba2d94eb91a19dca7e77bdaa03a70a3905ae2822b3de67618892620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.
Transparency log