独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
C

CoderDayton/semantic-cache-mcp

本站为独立目录,非该工具官网;下方信息取自其公开仓库。

Semantic Cache MCP (原文为英文)

3 ★ 本站实测 · 核对 2026-11-19

装之前:命令归属未核实,仅作参考展示 · 许可证 MIT

第一步(仅参考,归属未核实):claude mcp add semantic-cache --scope user -- uvx semantic-cache-mcp

★ 3·更新 2026-10-23
在 GitHub 查看 ↗直链 · 无中转页

我们没有可直接复制的安装命令,也没有公开的远端端点,所以不出配置。上面那条命令仅供参考,不是我们能担保的可复制命令——编一条出来比不给更糟。 各客户端的接法 →

★ 数取值
3 ★ · CoderDayton/semantic-cache-mcp · 取自 GitHub 搜索 API · (2026-11-19 20:00:48 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-18 · 最近见到 2026-11-20 · 共见到 3 次 · 被 3 个来源列出
评分构成
综合分 300 · 3 ★ · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 CoderDayton/semantic-cache-mcp;我们收录于 2026-11-18;最近见到 2026-11-20。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
README 原文(英文,未翻译) · 在 GitHub 读完整 README →

Semantic Cache MCP

以下摘录自该仓库的 README(片段)

Stop paying for the same file twice.
An MCP file cache for AI coding agents: a re-read costs ~40 tokens instead of the whole file.
 
Coding agents read the same files over and over: before an edit, after an edit, after every context compaction. A built-in Read sends the whole file each time. Semantic Cache MCP knows what your agent already holds. Measured on one 7,891-token file:
| Read | Built-in Read | Semantic Cache MCP |
| First read | 7,891 tokens | full file, plus a hash |
| Re-read, file unchanged | 7,891 tokens | 77 tokens |
| Re-read after a one-line edit | 7,891 tokens | 137 tokens (a diff) |
Across a 48-file project it saves 98.7% of re-read tokens, and an unchanged read takes 0.17 ms. It also gives your agent grep, BM25 search and glob over the cache, atomic edits with dry_run, and token-budgeted batch reads. Three runtime dependencies, no API keys, no GPU.
## Quick start
You need uv. In Claude Code:
bash
claude mcp add semantic-cache --scope user -- uvx semantic-cache-mcp
Any other client (Cursor, Claude Desktop, and others that take mcpServers JSON):
json
"mcpServers": {
"semantic-cache": {
"command": "uvx",
"args": ["semantic-cache-mcp"]
Configs for VS Code, Codex and OpenCode, and how to turn off the built-in file tools so the agent uses the cache: docs/clients.md.
## How it works
Every file the server sends comes with a content_hash. The agent passes it back as known_hash on the next read:
mermaid
flowchart LR
R["read(path, known_hash)"] --> M{"hash matches the file now?"}
M -- yes --> U["unchanged ~40 tokens"]
M -- "no, older version" --> D["diff of changed lines"]
M -- "no hash" --> F["full file + content_hash"]
No stale content. Every read checks the file on disk first. unchanged only answers when the hash matches the current bytes.
Forgetting is safe. After a compaction, the agent reads without the hash and gets the full file back.
Large files become maps. A file over max_size returns an outline of its definitions, not a blind cut.
Everything stays local. The cache is a SQLite file. One background daemon serves every client on your machine.
## Tools
read · batch_read · read_image · write · edit · batch_edit · edit_preview · delete · warm · grep · search · glob · stats · clear
Parameters and examples: docs/tools.md.
## FAQ
Is the search "semantic" in the embeddings sense? No. search is BM25 keyword ranking and grep is exact. No model to download, no GPU, no API key.
Does it send my code anywhere? No. The only network request is a one-time download of the o200k tokenizer file, checked against a SHA-256 hash.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/coderdayton-semantic-cache-mcp/)
来源
awesome · https://github.com/CoderDayton/semantic-cache-mcp
按领域浏览
MCP 服务
Traction
3 ★
收录来源
3 个独立来源
收录于
今天

更多 MCP 服务器

全部 6,555 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引