Skip to main content

Bidirectional MCP proxy that translates between JSON and GCF. 79% fewer input tokens, 63% fewer output tokens. 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.

79% fewer input tokens. 63% fewer output tokens. 90.7% comprehension accuracy across 10 models and 3 providers. 1,300+ 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   (79% input 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

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

Format Accuracy Tokens vs JSON
GCF 90.7% avg (10 models) 11,090 79% fewer
TOON 68.5% avg 16,378 69% fewer
JSON 53.6% avg 53,341 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.8.0-py3-none-win_arm64.whl (5.4 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

gcf_proxy-0.8.0-py3-none-macosx_11_0_arm64.whl (5.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

gcf_proxy-0.8.0-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.8.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: gcf_proxy-0.8.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 5.4 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.8.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 2378e97c31aee611bfb377723571fcd845237cfdedd1ef238dbcdcc7b6c03bdc
MD5 a2bce10e747b09093d5bf412ab22404f
BLAKE2b-256 113536bc86f5e2871b09be0d3091ac7301bf505dba1e215e12658796bc94e739

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcf_proxy-0.8.0-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.8.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 88d29938e9abcb8dcc044bfccc49a8497102e19a157f86682d23dea8f97f7697
MD5 dc491e9543ec940bb97b5fc61ccb9822
BLAKE2b-256 b6c71c84e1f41dccde499cd655ea9ed0f1926abe39ce5b8927afe92a7d772a07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.8.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5d63395322484e3409494de7deeb6fad3d06ef3cba5cb316197fbfd170719eaf
MD5 40967ec4ae62597f70fff9fec61ea982
BLAKE2b-256 c5b8ef5fc571e3fbb1c256273a043fc611b542147f4f4680fcde0bf85ade61e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.8.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1b8819e0b7abff6cd05bb7ffa7d8aec360a2e9ec4443f2809568258c5d14524d
MD5 58e6bd38302de2c82ec2b4b765d43e98
BLAKE2b-256 b65dcdf6e33382313996e5793b7bf199e8374fb8f984a0c247a840f9b4c03dd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.8.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3a3a9b2c7821ba07c026ae21a5ac4cf7d34f2ade54d9464048b0948bf4953578
MD5 06e798f07687e0f734f16f9c4aa02a0c
BLAKE2b-256 744cc9f1c20ce6653acb3a126d79792efcd17c1e1edd0835b04a016965e94da5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.8.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4e01d8e7e065d75a274be1d01963f9892668692a102bd68f8ebfce8b4c748a37
MD5 66e2b46a9bfbeab56497b1d48b0e8c55
BLAKE2b-256 801705b92e0d017c5ba6eab7701d8f7af60a447839311b25b3b0dbaf986391f6

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