Geopolitical Risk for LangChain
io.github.pipeworx-io/geopolitical-risk
Geopolitical Risk (GPR) Index, Dario Caldara and Matteo Iacoviello.
client:LangChain
transport:streamable-http
runtime:npm
tools:7
Install Geopolitical Risk in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"geopolitical-risk": {
"transport": "streamable_http",
"url": "https://gateway.pipeworx.io/geopolitical-risk/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs