How to Use the INMET (Apitempo - Meteorologia) MCP in LangChain
Run multi-step weather analysis chains using INMET (Apitempo - Meteorologia) meteorological tools directly inside LangChain.
Works with every AI agent you already use
…and any MCP-compatible client
Connect INMET (Apitempo - Meteorologia) MCP to LangChain
Create your Vinkius account to connect INMET (Apitempo - Meteorologia) 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.
Chain live station telemetry to your agent
The `get_station_data_hourly` tool pulls raw climate telemetry from specific Brazilian stations. This feeds directly into the next link of your chain, letting you pass wind speed or temperature readings straight to an agricultural calculation model without manual parsing. LangSmith traces every step of this data flow. You see the exact payload size and execution latency for `get_station_data_daily` as your pipeline processes historical weather patterns.
Feed GOES-16 imagery to LangChain pipelines
The `get_satellite_images` tool fetches the latest satellite visuals from INMET. Your agent feeds these image URLs directly into vision-capable models to detect cloud cover or storm fronts over specific regions. This setup avoids hardcoded API keys. You configure the server once, and your chain uses the active session to pull real-time visual data when regional temperatures cross a defined threshold.
Build ReAct workflows with the INMET MCP Server
The `get_forecast_by_city` tool retrieves municipal weather forecasts for your agent. The agent evaluates the forecast, checks it against historical baselines, and determines if it needs to query `list_stations` for deeper local data. You manage these multi-step decisions using standard LangGraph structures. The agent handles the tool-calling loop automatically, resolving dependencies between regional data and municipal forecasts in real time.
Set up INMET (Apitempo - Meteorologia) 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 INMET (Apitempo - Meteorologia) 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({
"inmet-apitempo-meteorologia-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 INMET (Apitempo - Meteorologia) 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 INMET. 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 INMET (Apitempo - Meteorologia) MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the INMET (Apitempo - Meteorologia) MCP today
We host it, we monitor it, we maintain it. You just paste one token.