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.3-py3-none-win_arm64.whl (5.5 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

gcf_proxy-0.11.3-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.3-py3-none-win_arm64.whl.

File metadata

  • Download URL: gcf_proxy-0.11.3-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.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 83123d18f737d134da1fca1b254fcab36a7b9c047c5094be4f5e19d010deb6ce
MD5 8ba50d586c15d913098c5f8bd2957f7a
BLAKE2b-256 caddfc22701a060aa654e387a2ba5a4155006fab5b6135878a46a4e9ba0c7581

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcf_proxy-0.11.3-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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c9b835eaaab3a0dfcb78cb47c07dfdfc7d9dcabc53aa4fbd80f65037ee8e9c78
MD5 9a2516d6184dfc59d23d17749f4b82f1
BLAKE2b-256 475c51977f5446aa0ea44373da7f47569a22e7f520115ff996019ca0161182aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.11.3-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 136c9cb18b3973024817eabbcf0d3b4e67d1b03e800ad9d05c73e93298534981
MD5 170a47078a9ce3984c46dc6ac41f7c62
BLAKE2b-256 18844e72ce836debd863a4bbe7cd2945a0ba548cfc5737b15425f0a7f53b0574

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.11.3-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 16a4b6c9c9476a1336ae805aa6570cf520e421d35cd57b1e29050218383650ed
MD5 77fb6bedff7b6e369f077bee74b8326d
BLAKE2b-256 e8a45c1714fbc0d940df57d5c41b8e0fad94d460000304abfb077516b0ca75a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.11.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b8e972079f360563f27da7eac822ba08a0345c159401fa85f05989eb35e7c580
MD5 5a9bce5751f722ba5dbac57549f82c69
BLAKE2b-256 7271a1daa5e0664e47f472d9001a24692b9a1dd1739c0eeea1619de8fb63303c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.11.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fb88cee53f09d988fa0d928124bbc49759ca557c944273cd1123851932b5b81f
MD5 2972e1a15b099022a391b2de7ee41b41
BLAKE2b-256 85257e7432c49379382c3bc7f3d5ef037aa44e29c93980fc64d8d1ec8312a759

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