How to Use the NASA Exoplanets — Worlds Beyond Our Solar System MCP in LangChain
Build LangChain agents that search 5,700+ exoplanets and chain discovery stats into astronomical research pipelines.
Works with every AI agent you already use
…and any MCP-compatible client
Connect NASA Exoplanets — Worlds Beyond Our Solar System MCP to LangChain
Create your Vinkius account to connect NASA Exoplanets — Worlds Beyond Our Solar System 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.
Build chained planetary searches with this MCP Server
LangChain agents handle multi-step reasoning natively. You ask for a breakdown of habitable worlds, and the agent calls `get_habitable_zone` to pull the raw candidate list. It doesn't stop there. The output of that first call feeds directly into `query_confirmed_planets` to grab orbital periods and mass for each specific world. Your pipeline automatically filters out gas giants, leaving you with a refined list of rocky planets ready for LangSmith tracing.
Aggregate three decades of transit data
Kepler and TESS missions generate massive datasets. Your ReAct agent uses the MCP tool `get_transit_planets` to pull the bulk records of everything found crossing a star's path. Once the agent has the transit data, it routes the payload through your custom analytical chains. You get full visibility into token usage and latency while parsing thousands of lightcurves.
Track discovery trends autonomously
Exoplanet science moves fast. You can set up a scheduled LangGraph workflow that runs `get_planet_stats` every week to catch new confirmations. The framework parses the updated totals and discovery methods. If a new batch of radial velocity planets hits the archive, your agent immediately triggers alerts to your research team.
Set up NASA Exoplanets — Worlds Beyond Our Solar System 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 NASA Exoplanets — Worlds Beyond Our Solar System 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({
"nasa-exoplanets-worlds-beyond-our-solar-system-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 NASA Exoplanets — Worlds Beyond Our Solar System 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 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 Exoplanets — Worlds Beyond Our Solar System MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the NASA Exoplanets — Worlds Beyond Our Solar System MCP today
We host it, we monitor it, we maintain it. You just paste one token.