Skip to main content

Bidirectional MCP proxy that translates between JSON and GCF. 50-92% fewer tokens. 100% comprehension on every frontier model. Zero code changes.

Project description

gcf-proxy

Bidirectional MCP proxy that translates between GCF and JSON. Drop-in, zero code changes to your server or client.

50-92% fewer tokens. 100% comprehension on every frontier model and 3 providers. 2,400+ LLM evaluations. Zero training.

Docs: gcformat.com · Proxy Guide · Playground · GCF vs TOON

Install

pip install gcf-proxy

Setup (one line change)

Before:

{"mcpServers": {"yours": {"command": "your-mcp-server"}}}

After:

{"mcpServers": {"yours": {"command": "gcf-proxy", "args": ["your-mcp-server"]}}}

Works with Claude Code, Claude Desktop, VS Code, Cursor, and any MCP client.

What it does

Translates in both directions:

Responses:  Your Server (JSON) -> gcf-proxy encodes -> LLM reads GCF   (50-92% savings)
Requests:   LLM writes GCF    -> gcf-proxy decodes -> Your Server (JSON) (63% output savings)
  • Responses: JSON tool results from the server are encoded as GCF
  • Requests: GCF strings in tool call arguments are decoded to JSON (4-byte prefix check, zero overhead)
  • Non-convertible content passes through unchanged in both directions
  • Neither the server nor the client needs to know about GCF
  • --no-flatten uses expanded encoding for nested objects (open-weight models currently comprehend this form better; GCF still outperforms JSON either way)

Savings

JSON   2,506 bytes  ~626 tokens
GCF      916 bytes  ~229 tokens   (63% fewer)

With session dedup (92.7% by 5th call) and delta encoding (81.2%), use the GCF libraries directly.

Benchmarks

Eval GCF TOON JSON
General comprehension 100% 100% 100%
Adversarial code graphs (500 symbols) 91.2% 68.8% 54.1%
Token efficiency (16 datasets) 15/16 wins 1/16 baseline

Also available on

  • npm: npm install -g @blackwell-systems/gcf-proxy
  • Go: go install github.com/blackwell-systems/gcf-proxy@latest

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gcf_proxy-0.11.2-py3-none-win_arm64.whl (5.5 MB view details)

Uploaded Python 3Windows ARM64

gcf_proxy-0.11.2-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

gcf_proxy-0.11.2-py3-none-manylinux2014_x86_64.whl (6.1 MB view details)

Uploaded Python 3

gcf_proxy-0.11.2-py3-none-manylinux2014_aarch64.whl (5.8 MB view details)

Uploaded Python 3

gcf_proxy-0.11.2-py3-none-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

gcf_proxy-0.11.2-py3-none-macosx_10_12_x86_64.whl (6.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file gcf_proxy-0.11.2-py3-none-win_arm64.whl.

File metadata

  • Download URL: gcf_proxy-0.11.2-py3-none-win_arm64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gcf_proxy-0.11.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 a2291b87d5b1b9dee9098f9dcfad156c88e8cca116bc1bd9e4098ac552d65ea7
MD5 1e8381318267f57b9e3a984de087d2e6
BLAKE2b-256 eb7b3bb6cd547a664ffbd76732ac9bbab63428529017c0514d8841489eebae85

See more details on using hashes here.

File details

Details for the file gcf_proxy-0.11.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: gcf_proxy-0.11.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for gcf_proxy-0.11.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 34a7ed36fcad767e4ae91edfb540c1be3f6b27963228c3c9e45d8aeeb464f61d
MD5 09dd2ec64e3a3b98465190335a08fdb4
BLAKE2b-256 ce303583997286496491149d5049ac26536ded3446b132bda5e7fc4f7baeff18

See more details on using hashes here.

File details

Details for the file gcf_proxy-0.11.2-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gcf_proxy-0.11.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1c054b36b78cfd4b7b83e085a9bffee9bcfea7db91b023b919bfea329df9bdb0
MD5 9817dcb67404fda78f43c07bd315d5fa
BLAKE2b-256 a2d99e9055ef7c77e7a5f96f34e5d9c5425e7545ace8c08f21c95fdd53854f8f

See more details on using hashes here.

File details

Details for the file gcf_proxy-0.11.2-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for gcf_proxy-0.11.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d8003abeb595a755285e9dfbfe7e46799f34ae8c452ace92371f5acec201b338
MD5 3ccfd84e5b85c8b4ab214bc311475c85
BLAKE2b-256 896ae9ae358702eca159e49c1e911cd37c9bbef72d58e74ec3b61ce4b2bd4d41

See more details on using hashes here.

File details

Details for the file gcf_proxy-0.11.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gcf_proxy-0.11.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9aacddf18422376e18a2b063772d7e1a8abe7acc7643744e97c0b141d7046c3b
MD5 e36b8c53359d8b2604afa78069dd24bd
BLAKE2b-256 91f04b67919cedfc7e1358c6815086a89a5e2da4397e58af0c89daa205641bad

See more details on using hashes here.

File details

Details for the file gcf_proxy-0.11.2-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for gcf_proxy-0.11.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d0de041668c57c217c0005cd742be600f4889d3bf340ddadef86ccc45ca3fa65
MD5 8d6abed9a85b46a34c802ed91a8e0132
BLAKE2b-256 da8c2ec2a5452d0a30ac26b2b059aa918f1e689098f77c5908b7b253be779b88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page