How to Use the NASA DONKI — Space Weather Intelligence MCP in CrewAI
Deploy a specialized crew of AI agents to monitor, analyze, and act on severe space weather events using CrewAI.
Works with every AI agent you already use
…and any MCP-compatible client
Connect NASA DONKI — Space Weather Intelligence MCP to CrewAI
Create your Vinkius account to connect NASA DONKI — Space Weather Intelligence to CrewAI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Assign Heliophysics Roles
The `get_solar_flares` tool feeds directly into a researcher agent tasked with monitoring C, M, and X-class events. CrewAI thrives on specialization. Instead of one overloaded prompt trying to understand the entire solar system, you assign a dedicated watcher to look for radio blackout triggers. When the researcher spots an X-class flare, it passes the context to an analyst agent. The analyst then queries `get_cme` to see if a coronal mass ejection accompanied the flare. This shared memory model means the second agent already knows the exact timestamp to look for.
Predict Geomagnetic Storms
Running `get_interplanetary_shocks` lets a forecaster agent track disturbances in the solar wind before they hit Earth. Sequential execution ensures the forecaster finishes its shockwave analysis before handing off to a mitigation agent. The crew builds a complete timeline of the incoming threat. The mitigation agent then uses `get_geomagnetic_storms` to check the Kp index. If it detects a Kp=9 extreme storm, it can autonomously draft warnings for power grid operators. The agents collaborate to turn raw shock data into actionable survival protocols.
Parse the Notification Feed via MCP
Polling `get_donki_notifications` acts as the perfect trigger for a manager agent in a hierarchical setup. The manager scans the unified feed of CMEs, shocks, and radiation events. When it sees something dangerous, it delegates specific investigation tasks to subordinate agents. One worker might check `get_solar_energetic_particles` for astronaut safety, while another evaluates `get_radiation_belt` for satellite risks. The MCP protocol handles the tool execution seamlessly in the background. The manager compiles their findings into a single executive briefing.
Set up NASA DONKI — Space Weather Intelligence MCP in CrewAI
Prerequisites
- Python 3.10+ installed
-
crewaipackage (pip install crewai) - Active Vinkius subscription with a valid endpoint token
- 1
Install CrewAI
Run
pip install crewaito install the framework. MCP support is built-in via themcpsparameter. - 2
Add the MCP URL to your agent
Pass your Vinkius endpoint directly to the
mcpslist. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically. - 3
Kick off your crew
Create a
Crewwith your agent and tasks. Callcrew.kickoff()— the agent will automatically invoke NASA DONKI — Space Weather Intelligence tools as needed.
from crewai import Agent, Task, Crew
agent = Agent(
role="NASA DONKI — Space Weather Intelligence Analyst",
goal="Access and analyze NASA DONKI — Space Weather Intelligence data via MCP.",
backstory="Expert analyst with direct NASA DONKI — Space Weather Intelligence access.",
mcps=[
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
],
)
task = Task(
description="List recent NASA DONKI — Space Weather Intelligence transactions",
agent=agent,
expected_output="A summary of recent activity",
)
crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result) Prerequisites
- Python 3.10+ installed
-
crewai+crewai-toolspackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install crewai crewai-tools. TheMCPServerAdapterhandles lifecycle management and tool conversion. - 2
Connect with MCPServerAdapter
Use
MCPServerAdapteras a context manager withSseServerParameterspointing to your Vinkius endpoint. The adapter automatically manages connection lifecycle. - 3
Assign tools and run
Pass the returned
mcp_toolsto your agent'stoolsparameter. The adapter converts MCP tools to nativeBaseToolobjects compatible with all CrewAI agents.
from crewai import Agent, Task, Crew
from crewai_tools import MCPServerAdapter
from mcp import SseServerParameters
server_params = SseServerParameters(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
)
with MCPServerAdapter(server_params) as mcp_tools:
agent = Agent(
role="NASA DONKI — Space Weather Intelligence Analyst",
goal="Access and analyze NASA DONKI — Space Weather Intelligence data via MCP.",
backstory="Expert analyst with direct NASA DONKI — Space Weather Intelligence access.",
tools=mcp_tools,
)
task = Task(
description="List recent NASA DONKI — Space Weather Intelligence transactions",
agent=agent,
expected_output="A summary of recent activity",
)
crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by NASA. 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 NASA DONKI — Space Weather Intelligence MCP in CrewAI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the NASA DONKI — Space Weather Intelligence MCP today
We host it, we monitor it, we maintain it. You just paste one token.