MCP orchestrator: codebase-memory-mcp + headroom + Spec Kit
Project description
contextforge-mcp
MCP orchestrator combining codebase-memory-mcp + headroom + Spec Kit into a single pipeline.
Agent (Claude Code / Cursor / Codex)
│
▼
contextforge-mcp ←── single MCP server
│
├── codebase-memory-mcp (knowledge graph: 99% fewer retrieval tokens)
├── headroom (compression: 60–95% fewer prompt tokens)
└── Spec Kit (SDD workflow: spec → plan → tasks → implement)
Install
# Prerequisites
npm install -g codebase-memory-mcp
pip install "headroom-ai[all]"
pip install spec-kit
# Install contextforge-mcp
pip install contextforge-mcp
Setup
# Health check
contextforge-mcp doctor
# Configure Claude Code (writes .mcp.json)
contextforge-mcp install --target claude
# Configure Spec Kit extension
contextforge-mcp install --target speckit
# Both at once
contextforge-mcp install --target all
Usage in Claude Code
# 1. Index the codebase (once per session)
cbm_index_repository(repo_path=".")
# 2. Query the graph (instead of grep/read)
cbm_search_graph(name_pattern=".*Payment.*")
cbm_trace_path(function_name="processPayment")
cbm_get_architecture()
# 3. Check token savings
cf_stats()
Spec Kit workflow
/speckit.constitution
/speckit.specify
/speckit.cf-analyze ← analyze codebase before planning
/speckit.plan
/speckit.tasks
/speckit.cf-index ← index before implementing
/speckit.cf-implement ← graph-aware implementation
/speckit.cf-stats ← token savings report
Tools (23 total)
| Prefix | Count | Description |
|---|---|---|
cbm_* |
14 | codebase-memory-mcp graph tools |
cf_* |
9 | ContextForge meta + Spec Kit tools |
Environment variables
| Variable | Default | Description |
|---|---|---|
CBM_BINARY_PATH |
auto | Path to codebase-memory-mcp binary |
CF_MODEL |
claude-sonnet-4-6 |
Model hint for headroom |
CF_LOG_LEVEL |
WARNING |
Log level |
Credits
- codebase-memory-mcp — MIT
- headroom — Apache 2.0
- spec-kit — MIT
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file contextforge_mcp-0.1.0.tar.gz.
File metadata
- Download URL: contextforge_mcp-0.1.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62a487fa843ca572fd608cdcdd8f7aacd3f032af3b6b71ce88bb19da427fa1e5
|
|
| MD5 |
2d22b0ca67ac0f1bac7cf90058d0939a
|
|
| BLAKE2b-256 |
61f08e25b964f9db61ed861b2b27f31717461c6047607791c3e23cc71d7f84aa
|
Provenance
The following attestation bundles were made for contextforge_mcp-0.1.0.tar.gz:
Publisher:
publish.yml on capatinore/contextforge-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
contextforge_mcp-0.1.0.tar.gz -
Subject digest:
62a487fa843ca572fd608cdcdd8f7aacd3f032af3b6b71ce88bb19da427fa1e5 - Sigstore transparency entry: 2138138268
- Sigstore integration time:
-
Permalink:
capatinore/contextforge-mcp@0107eee2077c08dde4944ea6dfb1705bff5cfaa4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/capatinore
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0107eee2077c08dde4944ea6dfb1705bff5cfaa4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file contextforge_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: contextforge_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51834b6da576dd38a39a565ad2a0e4e038c5d00d267e95d4e994b66323e373fc
|
|
| MD5 |
2fc8e56440117a6976e6881fb96e948c
|
|
| BLAKE2b-256 |
1197c0b9f1cf22eb562252faab2f91573c9ce944138b427c9c25f5623f2308ea
|
Provenance
The following attestation bundles were made for contextforge_mcp-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on capatinore/contextforge-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
contextforge_mcp-0.1.0-py3-none-any.whl -
Subject digest:
51834b6da576dd38a39a565ad2a0e4e038c5d00d267e95d4e994b66323e373fc - Sigstore transparency entry: 2138138273
- Sigstore integration time:
-
Permalink:
capatinore/contextforge-mcp@0107eee2077c08dde4944ea6dfb1705bff5cfaa4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/capatinore
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0107eee2077c08dde4944ea6dfb1705bff5cfaa4 -
Trigger Event:
release
-
Statement type: