Connect AgentDeals MCP tools to LangChain agents via langchain-mcp-adapters. Search 1,600+ developer deals, compare vendors, and track pricing changes from Python.
LangChain is the most popular Python framework for building LLM-powered applications. With langchain-mcp-adapters, you can connect any MCP server — including AgentDeals — as a tool provider for your LangChain agents.
AgentDeals provides 5 MCP tools with data on 1,574+ developer deals across 60 categories: search_deals, plan_stack, compare_vendors, track_changes, and get_referral_code.
pip install langchain-mcp-adapters langchain-openai langgraph
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
model = ChatOpenAI(model="gpt-4o")
async with MultiServerMCPClient(
{
"agentdeals": {
"url": "https://agentdeals.dev/mcp",
"transport": "streamable_http",
}
}
) as client:
tools = client.get_tools()
agent = create_react_agent(model, tools)
result = await agent.ainvoke(
{"messages": [{"role": "user", "content": "Find free database hosting options"}]}
)
print(result["messages"][-1].content)
This connects to the remote AgentDeals server at https://agentdeals.dev/mcp — no npm or local install needed. The MultiServerMCPClient handles the MCP session lifecycle automatically.
You can also run AgentDeals locally via stdio transport:
"agentdeals": {
"command": "npx",
"args": ["-y", "agentdeals"],
"transport": "stdio",
}Use the agent to search for free databases, then compare the top options side by side.
result = await agent.ainvoke(
{"messages": [{"role": "user", "content":
"Search for free database hosting options, then compare "
"Supabase vs Neon vs PlanetScale. Show free tier limits "
"and risk levels."
}]}
)
print(result["messages"][-1].content)Monitor recent pricing changes for the vendors you use — catch free tier removals before they affect you.
result = await agent.ainvoke(
{"messages": [{"role": "user", "content":
"Track recent pricing changes for Vercel, Supabase, and "
"Cloudflare. Are any free tiers at risk?"
}]}
)
print(result["messages"][-1].content)Get stack recommendations with cost projections at different scale points.
result = await agent.ainvoke(
{"messages": [{"role": "user", "content":
"Plan a free stack for a SaaS MVP: I need hosting, "
"database, auth, email, and monitoring. Estimate costs "
"at 1K, 10K, and 100K monthly active users."
}]}
)
print(result["messages"][-1].content)AgentDeals exposes 5 MCP tools. Your LangChain agent can call any of them:
search_dealsFind free tiers, browse categories, get vendor details with alternatives. Filter by category, eligibility, or keyword.
plan_stackGet stack recommendations, cost estimates, or a full infrastructure audit for your project.
compare_vendorsCompare 2 vendors side-by-side or check a single vendor's pricing risk.
track_changesTrack pricing changes, upcoming expirations, and new deals. Weekly digest with no params.
get_referral_codeLook up the referral link we hold for a vendor, with the conditions attached to it. We hold codes for a handful of vendors.
Full tool documentation: /api/docs · Setup guide for more clients
Use AgentDeals tools directly in your AI editor. Works with Claude Desktop, Cursor, Cline, Windsurf, and any MCP-compatible client.
claude mcp add agentdeals -- npx -y agentdealsWorks with Claude Desktop, Cursor, Cline, Windsurf → Full setup guide
Connect AgentDeals to CrewAI agents via native mcps configuration — multi-agent pricing research workflows
Connect AgentDeals to n8n via MCP Server Trigger node — no-code pricing monitoring and vendor comparison workflows
Connect AgentDeals to Vercel AI SDK via experimental_createMCPClient() — React/Next.js code examples