Cross-session WebFetch cache for Claude Code. WebFetches disappear after 15 min — claude-webcache makes them persist.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add claude-webcache -- npx -y @theyahia/claude-webcache~/.codex/config.toml
[mcp_servers.claude-webcache]
command = "npx"
args = ["-y", "@theyahia/claude-webcache"]
# codex mcp add claude-webcache -- npx -y @theyahia/claude-webcache~/.cursor/mcp.json
{
"mcpServers": {
"claude-webcache": {
"command": "npx",
"args": [
"-y",
"@theyahia/claude-webcache"
]
}
}
}.vscode/mcp.json
{
"servers": {
"claude-webcache": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@theyahia/claude-webcache"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"claude-webcache": {
"command": "npx",
"args": [
"-y",
"@theyahia/claude-webcache"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"claude-webcache": {
"command": "npx",
"args": [
"-y",
"@theyahia/claude-webcache"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"claude-webcache": {
"command": "npx",
"args": [
"-y",
"@theyahia/claude-webcache"
]
}
}
}