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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

gcf_proxy-0.10.2-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.2-py3-none-win_arm64.whl.

File metadata

  • Download URL: gcf_proxy-0.10.2-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.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 863874122d5205d0f177e123b7db5d7704f72d6e35078ebefafc35b89c99a6ad
MD5 0d9a7857823a73e423e43fa6dc36a56d
BLAKE2b-256 eed41711175417acba4b38d3ed8279f0873d9d0fd99ff8046d18d41f5845fae6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcf_proxy-0.10.2-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.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 329e95428e17e1d20e4f35f8bcbe222c6117db1e5768228791fd6d58c71aa1c0
MD5 88116eeb790d2f0fb9e67ff7cf7a7111
BLAKE2b-256 097ee6a510ae23a0d37698c12e2c1303a53764ec2563778a91818d71b6ed9944

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.2-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 354b785d6f1cd64a0ef18b6cc3d211aee1cbc4d05f8b637dac94846f91623ddd
MD5 2e3958d3ca83d8021fdc72ff3f075c8e
BLAKE2b-256 22df287ae7b5395b3989da991289d84d8302a1f3ec149dca26cc1faee6e4e58f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.2-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b207d07bf7cc01ab55094f1eba0e2792a8c0ba3a7cc7860391f731e889eadc48
MD5 9c9a42cad292d0c06427a8bd1890c3e2
BLAKE2b-256 dd1b72c661ffe4ea7e83f3e11f9dd2feec6563cfc4893455ea10d428eaa7dd00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67e43cc8451c4bc7728b8668da056bdb152f4d6aa8763ab68f5e6640042b7c0f
MD5 5f8225b584bc8ed5805ee4010efab405
BLAKE2b-256 4c2f842dc128079fe13b6772da598759405be621bd36078da838b0dadacc5607

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gcf_proxy-0.10.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 13b343c359f3634976fe44b08c27cca7dc6007c44081fad105db9f0e18fc57a7
MD5 8b5cb2d402eddb9c7874a2e6a368930d
BLAKE2b-256 9b3d5adb42e9c658bf65c44b081c1514a585b389ab8b798538cb2edfacca133d

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