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) 90.7% 68.5% 53.6%
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.1-py3-none-win_arm64.whl (5.5 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

gcf_proxy-0.11.1-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.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: gcf_proxy-0.11.1-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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e56dc9df06ad1bb5cf5e223ef7640ba796b460dd2a0122576830764c882c0479
MD5 cac2353527b78bafb8a18189073ff8d6
BLAKE2b-256 7b4bfdec3aaf2774b058584f8a3a18f47d0d2ba70857614f27f37a2d1502beea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcf_proxy-0.11.1-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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 eab5d696b51a64a858daf1566780934a5d1bbfb5d27c43269998a8615df51ef6
MD5 8b94f0c1174593680eb56a5d1544ff27
BLAKE2b-256 adc508fdad2e076ad2220b4d6e5a46d4cb07378bb70d7138ca6bbe137c3dc60c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.11.1-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 21afdafb7075cdf21b5dd41e4cb2ce8ec35b9a699560cba53e2662f8016f4a50
MD5 4bba01e5310f9ee76059a72ac237813b
BLAKE2b-256 33197d33b67f0410a924c2728a112d2813e4750e64e5df7c0b9b6cf4aa8e7116

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.11.1-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f227a379f95b48c9d17725b088f0ddff6a7647c92c395147e5af44fdd10ab9ac
MD5 d9796b7ea6801b41380c268422a0d662
BLAKE2b-256 259a1f226908d8cc06a9f4c3a83e7825779943c3a4bf3c29bd3926056a586720

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.11.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 316004de754a94bb182ad62302cfee4fc8827a1c55a52c9ed16cdfa7b6b7c274
MD5 227a2c06889316963c4ead4f7020fb83
BLAKE2b-256 a3c2f400fe53e636c82a3034bc59980e99493e953d5bf9c9f37775738df1e5d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.11.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 36daf9aa9d59c3523dc8f1e53469b3a0d069aa7643231e75cc363653dc1fdcf1
MD5 3584368688bf7b59c3d9d459b7f04a87
BLAKE2b-256 7cd8f4ec77c014f1c203bd4d4e80d5e6689c90daa10b41a602ded324f8ace9a0

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