API Anything for LangChain
io.github.goodnight000/api-anything
Call websites as APIs: a shared catalog of operations learned from each site's own requests.
client:LangChain
transport:stdio
runtime:npm
Install API Anything in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"api-anything": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "api-anything"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs