Skip to content

Implementations

Three official implementations, all production-ready, all MIT licensed, all zero runtime dependencies.

Go

bash
go get github.com/blackwell-systems/gcf-go
FeatureStatus
Encode
Decode
Session deduplication
Delta encoding
Thread-safe Session✓ (sync.Mutex)
Tests100% coverage

GitHub · pkg.go.dev · CLI

TypeScript

bash
npm install @blackwell-systems/gcf
FeatureStatus
Encode
Decode
Session deduplication
Delta encoding
ESM module
Tests34 passing

GitHub · npm · CLI

Python

bash
pip install gcf-python
FeatureStatus
Encode
Decode
Session deduplication
Delta encoding
Thread-safe Session✓ (threading.Lock)
Type hints✓ (full coverage)
Python 3.9+
Tests43 passing

GitHub · PyPI · CLI

MCP Proxy

Drop-in wrapper for any existing MCP server. Zero code changes required.

bash
go install github.com/blackwell-systems/gcf-proxy@latest
json
{"mcpServers": {"yours": {"command": "gcf-proxy", "args": ["your-mcp-server"]}}}

JSON responses are re-encoded as GCF mid-flight. Your server keeps outputting JSON; the LLM receives GCF.

GitHub · pkg.go.dev

Output compatibility

All three implementations produce byte-for-byte identical output for the same input. The format is the product, not the implementation. Token efficiency numbers are independent of which library you use.

Contributing an implementation

GCF is simple enough to implement in a weekend. The spec is 229 lines of EBNF + prose. If you're building an implementation:

  1. Start with Encode (most useful, simplest)
  2. Add Decode (needed for testing)
  3. Add Session (needed for production MCP servers)
  4. Add Delta (needed for high-frequency re-queries)

Validate against the conformance test suite (14 fixtures across encode, decode, session, delta, and error cases). Test against the comprehension eval to verify your output is LLM-comprehensible at scale.