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

Uploaded Python 3Windows ARM64

gcf_proxy-0.6.0-py3-none-win_amd64.whl (2.9 MB view details)

Uploaded Python 3Windows x86-64

gcf_proxy-0.6.0-py3-none-manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded Python 3

gcf_proxy-0.6.0-py3-none-manylinux2014_aarch64.whl (5.4 MB view details)

Uploaded Python 3

gcf_proxy-0.6.0-py3-none-macosx_11_0_arm64.whl (5.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

gcf_proxy-0.6.0-py3-none-macosx_10_12_x86_64.whl (5.7 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: gcf_proxy-0.6.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 5.1 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.6.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ff712a708620803a8452d2c3ede8c1c4778119121f01936b21616e278f626e98
MD5 0d0162d5fc4d42871611502d3c066538
BLAKE2b-256 81d3c04c98e985f8c1114cbe3f1960eaaf69e12f1e6b36b4fcf91a4d69e514fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcf_proxy-0.6.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.9 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.6.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f21e95e89be45d0a7d201151f288b0799f107872701c9ee4b69a4b38ef9f9178
MD5 d251aefb200a3582ec4fb2f9106c8252
BLAKE2b-256 6db9c06e85b12e6a68b70bc85009399b81501551551d1b566d3c7be274b4ff99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.6.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1629818ee1ef32f81e7fee013f72ac3e37bdc3cd15fbc791d6101c949d87b551
MD5 6779e69e19f89a731c8527580bcd918c
BLAKE2b-256 25014220576e6e43bb280d2187859d87ba32da6885ee4a0f7aba1a9d890aadfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.6.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bc358ad24ea53e5acda05f22fe81ab0b5da01ef8c2646e76064791e1d62032f7
MD5 a0fe06b19926a2080bfe028d1d5d947c
BLAKE2b-256 1e57a308cf6f8676a21b0516db29dada9b068ef859abdbc8b21c9e66043df731

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1a2ead827b00a411f533675fdb7b5f2a445cbc95101dd83a72b9e27b3da971ce
MD5 330e5fb8745dfc86c4047963e8571600
BLAKE2b-256 b98bea972228174c05eda785803663264785a2c566f9620011db2022c3b16fd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.6.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ed028a2d8c46cd97bf5fdfbb92c44761f1ff5279fa042fe329315f06634095f1
MD5 f4ec2389aee96729fad5bef68ec0fedd
BLAKE2b-256 79f923368fcc588d69e5ae0cf488bac2b6f49730d025e5391c01beb06ff676c8

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