🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

mcp-sophon

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-sophon

Deterministic context compressor for MCP agents. Slots in front of prompt caching, mem0, Letta, or Claude Code — compresses prompts, conversation memory, code digests, file deltas, and shell output. Single Rust binary, zero ML at query time, MCP 2025-06-1

latest
Source
npmnpm
Version
0.5.4
Version published
Weekly downloads
53
-37.65%
Maintainers
1
Weekly downloads
 
Created
Source

mcp-sophon

npm wrapper for Sophon.

Honest token economics for MCP agents. One Rust binary. Zero ML. Reproducible benchmarks.

Sophon is a deterministic context layer for MCP-speaking agents: query-driven prompt compression, conversation memory, code navigation, file delta streaming, output compression. Measured 67 % session token savings, ~10 pts more saved than LLMLingua-2 on structured prompts at 35× lower latency, and parity with mem0 on LOCOMO retrieval at sub-second vs 8.7 minutes. Every number reproducible from BENCHMARK.md.

Installing this package downloads a prebuilt native binary from the matching GitHub release and exposes it as the sophon command.

Install

npm install -g mcp-sophon
sophon --help

Supported platforms (via GitHub Release prebuilds):

OSArch
macOSarm64, x64
Linuxarm64, x64
Windowsx64

Use as an MCP server

{
  "mcpServers": {
    "sophon": {
      "command": "sophon",
      "args": ["serve"]
    }
  }
}

Environment

  • SOPHON_SKIP_DOWNLOAD=1 — do not attempt to download the binary on install (useful in Docker / air-gapped CI). Provide a sophon binary on PATH yourself.
  • SOPHON_REPO=org/repo — override which GitHub repository the postinstall fetches from. Defaults to lacausecrypto/mcp-sophon.

See also

License

MIT

Keywords

mcp

FAQs

Package last updated on 30 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts