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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

gcf_proxy-0.10.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.10.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: gcf_proxy-0.10.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.10.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b2ce8f347f5ab7994bf10f762feb23c7d1641143a5f75e53152c7eba151ab157
MD5 0a890d89ddbf01945e9537aea5af6588
BLAKE2b-256 487ab3c4d2fa3ebc010d30c1c6ba83c24f44c19125807cfd143c1a4c846197da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcf_proxy-0.10.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.10.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ccfa270e2faa7fb0620abe67e79474ab700d4310b7263ce07d8852c25a12cb8d
MD5 fff1c409e3e9df96309e0f35e38738c4
BLAKE2b-256 ab71db00079e986fe76850daad5a7df664eb280a04ceb2380796faecbd3580e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b68d786c4e84815372cd52a5aded3d6a4eaac97ae6afa0492f270e266232c0ed
MD5 5df2fb0fb5f02c26cf06a5bfe17912a8
BLAKE2b-256 4d977c3915392d0011b73eb4064caeb698db4d4f0162ee6d3782e9ec56b05344

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2878aec67346297f56c294ec0ecdc593bf0127c9009980ecbd71af1c94ee867d
MD5 5173431b8de0b70ee7ca20332b96b08e
BLAKE2b-256 53aa81d50495c07c632af8c52513ef1ddea38ebd6976b8fa65e500539893633b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d789cf361a074b984fe35df53b988878207fe480534985b93a077c4e574811e8
MD5 8b62d70867f587dd2e3136bbd64919dc
BLAKE2b-256 c82eb951a54dde48bcd9357390e2831e575fe10d9cf7ff62fa19be63ece33969

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b48453c19faafd471a60b65dce5fefeee3bf4217b23f625bd0bb4f24eb87e281
MD5 7a76852574aa6ce9844684eb5c417482
BLAKE2b-256 1c2dabeedf6dfdde78e9a91315df94d7f29ba2623c840db8457c4128874133c1

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