LibreLink Up (CGM) for LangChain
io.github.mcp-dir/librelink-mcp
Glucose readings from your LibreLink Up sensor: graph, logbook, stats and summaries (read-only). Sec
client:LangChain
transport:streamable-http
tools:16
Install LibreLink Up (CGM) in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"librelink-mcp": {
"transport": "streamable_http",
"url": "https://api.mcp.ai/p_librelink",
}
})
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
- librelink_list_accounts
- librelink_list_connections
- librelink_get_connection
- librelink_get_current_glucose
- librelink_get_glucose_graph
- librelink_get_glucose_logbook
- librelink_get_glucose_stats
- librelink_get_latest_reading
- librelink_get_today_summary
- librelink_get_last_hours
- show_version
- report_bug
- connect
- toolkit_info
- marketplace
- authenticate