How to Use the ValueSERP MCP in LangChain
Build Complex Reasoning Chains in LangChain. ValueSERP connects real Google search data directly into your workflow.
Works with every AI agent you already use
…and any MCP-compatible client
Connect ValueSERP MCP to LangChain
Create your Vinkius account to connect ValueSERP to LangChain and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Multi-step Search Pipelines
Need to analyze a topic deeply? First, run a general query using `google_search` to get the core results. Then, chain that output immediately into `get_related_questions`. This lets your ReAct agent figure out the angles nobody mentioned in the initial search. Your AI client doesn't stop at one answer. It uses the preliminary data—say, a product link from `google_shopping_search`—and passes it to `google_video_search` next. It’s about making decisions on the fly using real-time web results.
Gathering Diverse Media Results
Don't just stick to text. When researching a competitor, you can hit several endpoints in sequence. Start with `google_search` for general articles, then jump to `google_image_search` for visual evidence. This gives your chain the breadth needed to build a full picture. If the topic is academic, use `google_scholar_search`. If it’s local business intelligence, you call `google_places_search` with coordinates. The power here is chaining disparate data types into one coherent narrative.
Product and Market Analysis
Building a shopping comparison tool? It's simple: run `google_shopping_search` first to get prices, product names, and merchant links. You can then use this data in another step of your chain, perhaps passing the resulting product IDs to build a structured output. This pattern works for more than just commerce. Find news coverage with `google_news_search`, gather video proof using `google_video_search`, or find out what people are asking about the topic via `get_related_questions`. It all links together.
Set up ValueSERP MCP in LangChain
Prerequisites
- Python 3.10+ installed
-
langchain-mcp-adapters+langgraphpackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install langchain-mcp-adapters langgraph langchain-openai. The MCP adapters package converts MCP tools into native LangChainBaseToolobjects. - 2
Connect via HTTP transport
Use
MultiServerMCPClientwith"transport": "http"pointing to your Vinkius endpoint. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Create a ReAct agent
Pass the discovered tools to
create_react_agent()from LangGraph. The agent automatically routes ValueSERP tool calls through the MCP protocol. - 4
Run with any LLM
Swap
ChatOpenAIforChatAnthropic,ChatGoogleGenerativeAI, or any LangChain-compatible model. The MCP tools work identically across all providers.
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI
async with MultiServerMCPClient({
"valueserp-mcp": {
"transport": "http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
result = await agent.ainvoke({
"messages": "List recent ValueSERP transactions"
})
print(result["messages"][-1].content) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by ValueSERP. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about ValueSERP MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the ValueSERP MCP today
We host it, we monitor it, we maintain it. You just paste one token.