2,500+ MCP servers ready to use
Vinkius

AccuWeather MCP Server for LlamaIndex 10 tools — connect in under 2 minutes

Built by Vinkius GDPR 10 Tools Framework

LlamaIndex specializes in data-aware AI agents that connect LLMs to structured and unstructured sources. Add AccuWeather as an MCP tool provider through Vinkius and your agents can query, analyze, and act on live data alongside your existing indexes.

Vinkius supports streamable HTTP and SSE.

python
import asyncio
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

async def main():
    # Your Vinkius token. get it at cloud.vinkius.com
    mcp_client = BasicMCPClient("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
    mcp_tool_spec = McpToolSpec(client=mcp_client)
    tools = await mcp_tool_spec.to_tool_list_async()

    agent = FunctionAgent(
        tools=tools,
        llm=OpenAI(model="gpt-4o"),
        system_prompt=(
            "You are an assistant with access to AccuWeather. "
            "You have 10 tools available."
        ),
    )

    response = await agent.run(
        "What tools are available in AccuWeather?"
    )
    print(response)

asyncio.run(main())
AccuWeather
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About AccuWeather MCP Server

Access AccuWeather's superior weather forecasting — the industry standard used by enterprises worldwide for accurate, localized weather data. Connect AccuWeather to your AI agent to get current conditions, daily and hourly forecasts, severe weather alarms, and activity planning indices for any location on Earth — all through natural conversation.

LlamaIndex agents combine AccuWeather tool responses with indexed documents for comprehensive, grounded answers. Connect 10 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.

What you can do

  • Current Conditions — Get real-time temperature, RealFeel, humidity, wind, UV index, and visibility for any city.
  • Daily Forecasts — Retrieve 1 to 15-day forecasts with high/low temperatures, precipitation probability, and sunrise/sunset times.
  • Hourly Forecasts — Get hour-by-hour weather for up to 120 hours (5 days) for precise planning.
  • Weather Alarms — Monitor active severe weather alerts including hurricanes, tornadoes, floods, and heat advisories.
  • Activity Indices — Get recommendations for outdoor activities, UV exposure, running, golf, fishing, and more.
  • Location Search — Find any city, town, or place worldwide and get its weather.
  • Metric Units — All data returned in Celsius, km/h, and kilometers for international use.

The AccuWeather MCP Server exposes 10 tools through the Vinkius. Connect it to LlamaIndex in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect AccuWeather to LlamaIndex via MCP

Follow these steps to integrate the AccuWeather MCP Server with LlamaIndex.

01

Install dependencies

Run pip install llama-index-tools-mcp llama-index-llms-openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save to agent.py and run: python agent.py

04

Explore tools

The agent discovers 10 tools from AccuWeather

Why Use LlamaIndex with the AccuWeather MCP Server

LlamaIndex provides unique advantages when paired with AccuWeather through the Model Context Protocol.

01

Data-first architecture: LlamaIndex agents combine AccuWeather tool responses with indexed documents for comprehensive, grounded answers

02

Query pipeline framework lets you chain AccuWeather tool calls with transformations, filters, and re-rankers in a typed pipeline

03

Multi-source reasoning: agents can query AccuWeather, a vector store, and a SQL database in a single turn and synthesize results

04

Observability integrations show exactly what AccuWeather tools were called, what data was returned, and how it influenced the final answer

AccuWeather + LlamaIndex Use Cases

Practical scenarios where LlamaIndex combined with the AccuWeather MCP Server delivers measurable value.

01

Hybrid search: combine AccuWeather real-time data with embedded document indexes for answers that are both current and comprehensive

02

Data enrichment: query AccuWeather to augment indexed data with live information before generating user-facing responses

03

Knowledge base agents: build agents that maintain and update knowledge bases by periodically querying AccuWeather for fresh data

04

Analytical workflows: chain AccuWeather queries with LlamaIndex's data connectors to build multi-source analytical reports

AccuWeather MCP Tools for LlamaIndex (10)

These 10 tools become available when you connect AccuWeather to LlamaIndex via MCP:

01

get_current_conditions

Returns temperature (metric), weather text (e.g. "Partly sunny"), RealFeel temperature, humidity, wind speed and direction, UV index, visibility, cloud cover, and precipitation. Essential for instant weather checks. Use get_location_by_key first to find the correct location key. Get current weather conditions for a location

02

get_current_conditions_metric

Returns temperature in Celsius, wind in km/h, visibility in kilometers. Includes RealFeel temperature, humidity, UV index, wind gusts, and precipitation data. Use for international audiences or scientific analysis. Get current weather conditions with detailed metric values

03

get_daily_forecast

Each day includes high and low temperatures, weather conditions, precipitation probability, wind speed, UV index, sunrise/sunset times, and air quality information. Returns data in metric units (Celsius, km/h). Essential for trip planning, event scheduling, and agricultural decisions. Use 5 days for standard weekly forecasts. Get daily weather forecast for a location

04

get_extended_forecast

While forecasts beyond 7-10 days have lower accuracy, this is useful for event planning, travel preparation, and agricultural scheduling. Each day includes high/low temperatures, precipitation probability, and general conditions. Use for planning events 2 weeks in advance. Get 15-day extended weather forecast

05

get_hourly_forecast

Each hour includes temperature, weather icon, precipitation probability, wind speed and direction, and cloud cover. Essential for detailed planning — knowing exactly when rain will start, when temperatures peak, or when conditions are safe for outdoor activities. Returns data in metric units. Use 24 hours for tomorrow planning. Get hourly weather forecast for a location

06

get_index_groups

This helps you understand what types of indices are available (outdoor activities, health, home & garden, etc.) before querying specific indices for a location. Use this to discover what activity planning indices are supported. Get available index groups and categories

07

get_location_by_key

Returns the city name, country, region, timezone, coordinates, elevation, and administrative area. Use this to verify you have the correct location before making weather queries. Get detailed information about a location by its AccuWeather key

08

get_weather_alarms

Includes severe weather alerts such as hurricanes, tornadoes, flood warnings, heat advisories, and winter storm warnings. Each alarm includes severity level, description, start and end times, and source. Essential for safety planning, emergency preparedness, and travel decisions. Returns empty if no active alarms. Get active weather alarms and warnings for a location

09

get_weather_indices

Includes indices for outdoor activity suitability, flight delay probability, UV exposure, running, hiking, golf, fishing, lawn mowing, composting, and more. Each index includes a numeric value, category (e.g. "Excellent", "Poor", "Good"), and descriptive text. Essential for activity planning, health advisories, and lifestyle decisions. Get weather indices (outdoor activity, flight, UV, etc.) for a location

10

search_location

The location key is required for other weather queries. Returns matching locations with their keys, country, region, and coordinates. Use this as the first step before any weather query. For example, search for "New York" to find the correct location key for New York City. Supports partial matching and returns multiple results. Search for a location by name to get its AccuWeather location key

Example Prompts for AccuWeather in LlamaIndex

Ready-to-use prompts you can give your LlamaIndex agent to start working with AccuWeather immediately.

01

"What's the weather like in Tokyo right now?"

02

"Give me the 5-day forecast for Paris, France."

03

"Are there any severe weather alerts for Miami right now?"

Troubleshooting AccuWeather MCP Server with LlamaIndex

Common issues when connecting AccuWeather to LlamaIndex through the Vinkius, and how to resolve them.

01

BasicMCPClient not found

Install: pip install llama-index-tools-mcp

AccuWeather + LlamaIndex FAQ

Common questions about integrating AccuWeather MCP Server with LlamaIndex.

01

How does LlamaIndex connect to MCP servers?

Use the MCP client adapter to create a connection. LlamaIndex discovers all tools and wraps them as query engine tools compatible with any LlamaIndex agent.
02

Can I combine MCP tools with vector stores?

Yes. LlamaIndex agents can query AccuWeather tools and vector store indexes in the same turn, combining real-time and embedded data for grounded responses.
03

Does LlamaIndex support async MCP calls?

Yes. LlamaIndex's async agent framework supports concurrent MCP tool calls for high-throughput data processing pipelines.

Connect AccuWeather to LlamaIndex

Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.