physics calculators for LangChain
com.usephysics/physics-calculators
Physics calculators that show their work, plus the CODATA 2022 constants. Educational use.
client:LangChain
transport:streamable-http
tools:4
Install physics calculators in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"physics-calculators": {
"transport": "streamable_http",
"url": "https://usephysics.com/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs