Matomo MCP by usefulapi for LangChain
io.usefulapi/matomo
Read visits, top pages, traffic sources, goals and live counts in Matomo.
client:LangChain
transport:streamable-http
tools:18
Install Matomo MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"matomo": {
"transport": "streamable_http",
"url": "https://matomo.usefulapi.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- matomo_list_sites
- matomo_get_site
- matomo_get_visits_summary
- matomo_get_top_pages
- matomo_get_entry_pages
- matomo_get_exit_pages
- matomo_get_site_search_keywords
- matomo_get_referrer_types
- matomo_get_referring_websites
- matomo_get_search_engines
- matomo_get_search_keywords
- matomo_get_campaigns
- matomo_get_countries
- matomo_get_device_types
- matomo_get_browsers
- matomo_list_goals
- matomo_get_goal_report
- matomo_get_live_counts