claude-webcache for LangChain
io.github.theyahia/claude-webcache
Cross-session WebFetch cache for Claude Code. Unlimited TTL by default, SQLite, MCP plugin.
client:LangChain
transport:stdio
runtime:npm
Install claude-webcache in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"claude-webcache": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@theyahia/claude-webcache"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs