claude-webcache MCP server
Cross-session WebFetch cache for Claude Code. Unlimited TTL by default, SQLite, MCP plugin.
1 stars47 downloads/wk
Reviews
Write oneNobody has reviewed claude-webcache yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
claude-webcache tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 25 days ago15/15
- Maintainer identityregistry namespace matches repository owner6/10
Install claude-webcache in Claude Code, Cursor or VS Code
Runs npx -y @theyahia/claude-webcache on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add claude-webcache -- npx -y @theyahia/claude-webcache
What the publisher says
From the claude-webcache repository's README, as published. We do not edit it. Read it on GitHub
claude-webcache
Persistent cross-session WebFetch cache for Claude Code. Cached reads in ~0.07ms — orders of magnitude faster than re-fetching.
Claude Code's built-in cache lasts 15 minutes, within one session. Every new session re-fetches from scratch. claude-webcache persists results across sessions in a local SQLite database — instant cache hits, zero network cost.
Session 1 → WebFetch("docs.example.com") → fetched, auto-cached ✓
Session 2 → cached_fetch("docs.example.com") → instant hit, no network call
Session 7 → cached_fetch("docs.example.com") → still instant, unlimited TTLv0.1.5+: every WebFetch is automatically saved via PostToolUse hook — nothing to configure.
Install
claude plugin marketplace add theYahia/claude-webcache && claude plugin install claude-webcache@theyahiaWorks in: Claude Code CLI · Desktop (Mac/Windows) · VS Code extension · JetBrains plugin — same command everywhere.
Done. Every WebFetch is auto-cached from now on.
Optionally add the usage pattern to ~/.claude/CLAUDE.md to also check the cache before fetching (saves the WebFetch call entirely on repeat URLs).
Plugin TUI not working? There's an open Claude Code bug (#41653) where /plugin install rejects third-party sources with "source type not supported." Use the CLI command above — it bypasses the TUI and works fine.
Fallback (no marketplace):
bash
git clone https://github.com/theYahia/claude-webcache && claude --plugin-dir ./claude-webcache/plugin
Option 2 — npm global
npm i -g @theyahia/claude-webcacheRequires Node.js 22.5+ (uses built-in node:sqlite — no native deps, no install step).
Then register in ~/.claude/settings.json (replace path with output of npm root -g):
{
"mcpServers": {
"claude-webcache": {
"command": "node",
"args": ["/path/from/npm-root-g/claude-webcache/scripts/mcp-server.cjs"]
}
},
"hooks": {
"SessionStart": [
{
"matcher": "startup|clear|compact",
"hooks": [
{ "type": "command", "command": "node /path/from/npm-root-g/claude-webcache/scripts/hook-stats.cjs" }
]
}
]
}
}Option 3 — clone (contributors)
See CONTRIBUTING.md.
Usage pattern (optional — for pre-fetch cache checks)
v0.1.5+ auto-caches every WebFetch automatically. The pattern below is optional: add it to ~/.claude/CLAUDE.md to also check the cache before making a WebFetch — this saves the WebFetch call entirely on repeat URLs.
Auto-read (v0.5+): nothing to do. A PreToolUse hook checks the cache before every WebFetch/WebSearch. On a hit it serves the cached copy and skips the network; on a miss the call runs normally and the PostToolUse hook stores the result. Same URL + same prompt (or same search query) in any future session = instant hit, zero network cost.
Manual lookup is still available if you want it: call cachedfetch(url, prompt) (or cachedsearch(query)) — returns the cached text, or [CACHEMISS] … if absent. Disable auto-read with WEBCACHEAUTOREAD=0.
⚠ Security — authenticated URLs
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
claude-webcache: common questions
- Is claude-webcache MCP server safe?
- Yes, by our scan: it is graded A (89/100). Read the claude-webcache safety report
- How do I install claude-webcache?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does claude-webcache need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is claude-webcache maintained?
- The last commit was 25 days ago (2026-09-02). The latest release is v0.1.5.
- What can I use instead of claude-webcache?
- Servers from other publishers that do the same job: LoreConvo MCP server, Database Sqlite MCP server and Veeam VSPC MCP server. Compare all claude-webcache alternatives.
Alternatives to claude-webcache
Same job from other publishers: the closest match first, then the best rated.
- LoreConvoLocal-first persistent session memory for Claude Code and other agents. SQLite + FTS5, no cloud.not reviewedGrowingB
- Database SqliteMCP server for SQLite databases. Read-only by default, row caps, statement timeouts.not reviewedGrowingA
Veeam VSPC MCPSync Veeam Service Provider Console tenants to local SQLite; cross-company backup answers offline.not reviewedGrowingB- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- RememLocal-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.not reviewedEstablishedB