Skip to content
LangChain

plausible analytics for LangChain

io.usefulapi/plausible-analytics

Query site stats, realtime visitors, breakdowns and goals from Plausible Analytics.

client:LangChain transport:streamable-http

Install plausible analytics in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "plausible-analytics": {
            "transport": "streamable_http",
            "url": "https://plausible-analytics.usefulapi.io/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

plausible analytics in other clients