mcp server for LangChain
io.github.bitcompare/mcp-server
Crypto yield data for AI agents: lending, savings, staking, borrowing & stablecoin rates. 18 tools.
client:LangChain
transport:streamable-http
runtime:npm
tools:21
Install mcp server in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mcp-server": {
"transport": "streamable_http",
"url": "https://api.bitcompare.net/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
- get_rates
- get_rate_by_symbol
- get_rate_history
- list_providers
- get_coin
- list_coins
- top_coins
- similar_coins
- coin_history
- get_price
- get_price_by_symbol
- market_summary
- fear_greed_index
- top_movers
- stablecoin_index
- stablecoin_peg_stability
- resolve_symbol
- resolve_symbols_batch
- stablecoin_earn_benchmark
- get_rate_changes
- list_earn_products