How to Use the ESA Near Earth Objects MCP in Vercel AI SDK
Build React and Next.js frontends that stream live asteroid telemetry using the ESA Near Earth Objects MCP server via Vercel AI SDK.
Works with every AI agent you already use
…and any MCP-compatible client
Connect ESA Near Earth Objects MCP to Vercel AI SDK
Create your Vinkius account to connect ESA Near Earth Objects to Vercel AI SDK and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Stream ESA Near Earth Objects MCP Server Risk Data
`get_risk_list` pulls the European Space Agency's active planetary defense monitor directly into your Vercel AI SDK stream. You get the object designation, estimated diameter, cumulative impact probability, and Palermo Scale value rendering in your React components as the data arrives. We don't wait for the entire JSON blob. Look, people panic over headlines. You can build an interface that immediately displays the `get_impact_table` output — rendering virtual impactors and projected dates while the model is still typing out the explanation. The user sees the actual math, not a spinning wheel.
Render Live Orbital Telemetry
`get_object_ephemerides` returns right ascension, declination, distance, and visual magnitude at specific timesteps. Hook this up to your Next.js application, and your AI client can stream right ascension coordinates directly into a client-side sky map. If you need to compute trajectories locally, `get_object_orbital_elements` grabs the raw parameters. You pass the transport URL to the MCP client, call the tools method, and let the Vercel AI SDK handle the HTTP streaming. The UI updates instantly with the asteroid's orbital arc.
Track Incoming Encounters
`get_upcoming_close_approaches` fetches the exact miss distance, date, and velocity for incoming rocks. Your Svelte or Vue frontend can display these velocity vectors dynamically. The ESA Space Safety programme updates this data multiple times a day. Frankly, historical data is just as critical for validating models. `get_recent_close_approaches` lets your users query past flyby events. They ask the agent about yesterday's encounters, and the SDK streams the exact miss distances straight to the browser. Remember to close the MCP connection when the session ends.
Set up ESA Near Earth Objects MCP in Vercel AI SDK
Prerequisites
- Node.js 18+ and a TypeScript project
-
ai+@modelcontextprotocol/sdkpackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
npm install ai @modelcontextprotocol/sdkplus your preferred model provider (e.g.@ai-sdk/openai). - 2
Create the Streamable HTTP transport
Use
StreamableHTTPClientTransportwith your Vinkius endpoint URL. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Discover and use tools
Call
mcpClient.tools()to auto-discover all ESA Near Earth Objects tools. Pass them directly togenerateText()orstreamText()— no manual schema definitions needed. - 4
Works with any model provider
Swap
openai("gpt-4o")for any AI SDK provider — Anthropic, Google, Mistral. The MCP tools work identically across all supported models.
import { experimental_createMCPClient as createMCPClient } from "ai";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";
const transport = new StreamableHTTPClientTransport(
new URL("https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
);
const mcpClient = await createMCPClient({ transport });
const tools = await mcpClient.tools();
const { text } = await generateText({
model: openai("gpt-4o"),
tools,
prompt: "List recent ESA Near Earth Objects transactions",
});
console.log(text);
await mcpClient.close(); Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by ESA NEOCC. 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 ESA Near Earth Objects MCP in Vercel AI SDK
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the ESA Near Earth Objects MCP today
We host it, we monitor it, we maintain it. You just paste one token.