Skip to content
MCP server
Registry

CachePin MCP Server

Zero-dep Rust+SIMD LLM prompt-cache compiler, exact mixed-TTL DP solver, auditor & Shadow-KV router

CachePin scores 63 (Good), licensed MIT and written in Rust. It installs as a local process. It does not declare tools yet. Filed under AI and memory. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by pgg898200-ship-itMITRust0 stars
Trust score
63Good
Trust score 63 of 100, Good

Good trust

63 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 63 comes from

22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "pgg898200-ship-it-cachepin": {      "command": "npx",      "args": [        "-y",        "https://github.com/pgg898200-ship-it/cachepin/releases/download/v0.2.0/cachepin-mcp.mcpb"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

CachePin

Find where two LLM requests stop sharing a prompt prefix. Two agents can use the same runbook and tools but list the tools in different orders. CachePin shows the first differing byte, identifies the changed block, and estimates how much of the next request could be reused if both clients serialized it the same way.

Compare two prompts in your browser · Download the CLI · Connect an MCP client

The bundled example goes from zero to 1,099 estimated matched tokens after sorting its tools.

Try a pair of requests

The two example requests share a runbook and two tools. The tool order and the final user question differ. From a checkout with the release binary on your PATH, run:

cachepin diff examples/prefix-diff/a.json examples/prefix-diff/b.json --mode json --provider anthropic --json

The v0.2.0 report includes these fields:

{
  "reason": "tool_order_drift",
  "divergence_path": "tools[0]",
  "raw_lcp_bytes": 68,
  "raw_matched_tokens": 0,
  "opt_matched_tokens": 1099,
  "total_tokens": 1113
}

The files share 68 literal bytes before the first tool name changes. In CachePin's replay model, sorting the tools and JSON keys raises the matching prefix from 0 to 1,099 estimated tokens for the second request. The different user questions still reach the model. You can run the comparison locally without an API key, model, or GPU. For billing or latency decisions, compare provider-reported usage and timing on your own workload.

Where it fits

Your taskPut CachePin hereWhat comes out
Diagnose two requestsAfter your client serializes request JSON, before it calls a modelcachepin diff a.json b.json --json reports the first differing byte, likely cause, and modeled reuse.
Audit a workloadOffline, alongside a JSONL trace or local Claude Code / Codex logscachepin audit trace.jsonl --json summarizes observed records and modeled cache behavior.
Standardize requestsBetween your prompt builder and provider SDKcachepin optimize --mode json --no-breakpoints reads JSON from stdin and writes the transformed request to stdout.
Route live trafficBetween the agent and a model API or a pool of vLLM / SGLang backendsThe optional reverse proxy forwards requests, can coalesce same-prefix bursts, and exposes /metrics.
Invoke from an agentAs a local stdio MCP serverLaunch cachepin mcp, discover its five tools with tools/list, and call the one your client needs.

Start with --mode json for key and tool ordering. The hoist and swarm modes can move volatile values and reorder shared context blocks. Inspect the resulting request and evaluate response quality on representative tasks before using those modes in live traffic.

Install

Download a Linux or macOS binary from the release assets, or build the Rust CLI locally:

git clone https://github.com/pgg898200-ship-it/cachepin.git
cd cachepin
cargo build --release --locked
./target/release/cachepin diff examples/prefix-diff/a.json examples/prefix-diff/b.json --mode json --provider anthropic --json

The Rust crate has zero external crate dependencies. The installer, Homebrew formula, Nix flake, container, and Python binding provide other entry points.

Measurements

WorkloadRecorded result
Compile an 18,535-byte request on an AVX2 CPU84.23 µs median, 138.44 µs p99
Proxy a request to a loopback upstream219.43 µs median added overhead
Send 32 concurrent requests to the local test upstream32 cold writes in the baseline, 1 with coalescing
Replay a synthetic 32-agent coding workload2.24% modeled cache hits before normalization and 98.44% after

The first three results are local measurements. The last uses a simulated access pattern and pricing profile. Recorded results · Reproduce the benchmark · Method and implementation

Integrations and related tools

Browse other PGG tools by task.

See the license file and crate metadata for licensing details.

Frequently asked questions

What is CachePin MCP Server?

Zero-dep Rust+SIMD LLM prompt-cache compiler, exact mixed-TTL DP solver, auditor & Shadow-KV router

How do I install CachePin MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. CachePin MCP Server runs locally from the MCP bundle https://github.com/pgg898200-ship-it/cachepin/releases/download/v0.2.0/cachepin-mcp.mcpb with the command npx -y https://github.com/pgg898200-ship-it/cachepin/releases/download/v0.2.0/cachepin-mcp.mcpb.

Is CachePin MCP Server free and open source?

Yes. CachePin MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does CachePin MCP Server support remote (HTTP) connections?

No remote endpoint is listed for CachePin MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is CachePin MCP Server's trust score calculated?

CachePin MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server