Skip to main content

copilot-graph-spec (graph-mcp)

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
graph-mcp init                        # scaffold .vscode/mcp.json, .github/{agents,prompts,
                                       # instructions}, spec/{constitution.md,templates}
graph-mcp index .                     # build .graph/graph.db
graph-mcp 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 watch mode.
  • 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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for copilot-graph-spec 0.1.1
File Size Uploaded
copilot_graph_spec-0.1.1.tar.gz 196.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for copilot-graph-spec 0.1.1
File Interpreter ABI Platform
copilot_graph_spec-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 238.4 kB

Release files / copilot_graph_spec-0.1.1.tar.gz

Download URL copilot_graph_spec-0.1.1.tar.gz
Size 196.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b47402f43993e57c4a933774775f6aa63dd03e0fb710761bef6923c71c4a115c
BLAKE2b-256 checksum
How to use checksums
9192ee5977c63d1d07b5ce194fea970fcc02820bc528a135073e0ab15dddd6d1
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

Release files / copilot_graph_spec-0.1.1-py3-none-any.whl

Download URL copilot_graph_spec-0.1.1-py3-none-any.whl
Size 42.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3314b43650eb19589e02b92aaeba75e597345202d6c568b47ffa15af25caa66b
BLAKE2b-256 checksum
How to use checksums
96bc18e62f45a9fce33e3f0281b43caf895ee5eb65f1b2fa6013ec1508bcdf62
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

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page