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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

gcf_proxy-0.10.4-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.4-py3-none-win_arm64.whl.

File metadata

  • Download URL: gcf_proxy-0.10.4-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.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 43a34b97d909ecebf3a8a15ecfe895a6443a358b42fbd8648a009b1bfcab6c49
MD5 bdfa7faceb5839ed77e2edf570472cb0
BLAKE2b-256 13bd4292394782f496fb081705482d78fd940a440f882ee51422773edb5ef068

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcf_proxy-0.10.4-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.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c9d1c1b78227e215431a3eef395847fef80562344df4912e1b4689bc0b6171fd
MD5 8e5da955f1976acc99bc7b19326ee5c3
BLAKE2b-256 18a995c71264754ef65a27b8d5350fd8c8c1de98c0b405d5f211db6b8c072233

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.4-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78c318362ef8b2b7e7c9fe886ba4eb152d646b4b6b279d4bc5c827d5d0a2b24f
MD5 9e8087d97cc14f1be01a0b21e280e08c
BLAKE2b-256 0cd3855b1810c0129e984e18826bc733ea9baca5b8e46389d0dd7df6514b6eb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.4-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4e9877450da7cfffc31267f12fbee00853c2edb00ed81a60c603385961db8c78
MD5 e237aa9b5523a516c93f4a32e8a70280
BLAKE2b-256 20b61c69a83dd3bdb2e15323b2501314afe0d229ebaa0f7b0dba548cab7e8d4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 15e3091519c942b07af5378e052c010486356ee9461f5bf84c33ffdefb588374
MD5 bf4bb57361a6e3211f39f3e5e2aeb5fd
BLAKE2b-256 4b20befef83a91e655fe3deb119e71fb2b36c315218ce428ddfb273d0b6e3f5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c6a83d08913511473ae9b6fbd93aef54ac89dbb2483df622fae23984b5759e4c
MD5 cff2383b9522cc0bec60c5a3ccff8b9f
BLAKE2b-256 977f2f1876351037591a4200702c02dd2b5f0ef64de1654451cc8ddca3537fbc

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