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.

53-71% fewer input tokens. 63% fewer output tokens. 100% comprehension on every frontier model and 3 providers. 1,700+ 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.3-py3-none-win_arm64.whl (5.5 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: gcf_proxy-0.10.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.10.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 a64fb461cbc03d456c6c165115bf0d3b5ff096fd8f9cd3c816d59b29fd5b03ba
MD5 8435a5e0a1fee489b3417d9f7f998bd5
BLAKE2b-256 8d3d468f44e45e5504340cd54a2eb0107965b12117384bb319d814e00aa12471

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcf_proxy-0.10.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.10.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 977c9b9387cb2b3044f34c4d366abdc80b9d956b6582f129d125a7061655e342
MD5 92a56f8286c6987de638f24e0afc2c91
BLAKE2b-256 1cfd5b7151c5914d7dd27d85daecfdd38f08e65a194bf4d91475eee21be80724

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.3-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 812c1432a0a55fccf987d51076a6b24f9185869eafe98082051cfd3dc8a6af06
MD5 a913207306ae820a253e4ae4cc948e15
BLAKE2b-256 9beabe92c2b377a8b5be3e361628479e7968288c83503c1e677972eff27e8163

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.3-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 957e498640b9246bc129b66a01aaaf75034f67e28aacf3f4f0c739644434992b
MD5 210f884a5b1ddd15ab9ab2ee85fd5013
BLAKE2b-256 7a0633485afd5492a476a5ea23919674531d0dc34597952cfc341e98de0a018e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ee2a463a434f74ba76db31a578c62fd0de93f3a73c1a0f101e996dccb8eb2f1
MD5 75b6d5de26f253727beea8a6723b6f39
BLAKE2b-256 596c59ac29ed4dfacf9dc9dc70160df74f56367ae1577cbd3c557cce067514d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d1adadc75de91381f278023e08b5c17417c345b907ff92d4df5776121b17ba9b
MD5 232b0bc30a137a4bd9207fefe13f936d
BLAKE2b-256 ac7dced1cb142da133fe64ac0b08f2a9736093d6a5834c63ec7a1a77d5d12758

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