Taranis MCP Server for LangChain 12 tools — connect in under 2 minutes
LangChain is the leading Python framework for composable LLM applications. Connect Taranis through Vinkius and LangChain agents can call every tool natively. combine them with retrievers, memory, and output parsers for sophisticated AI pipelines.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with MultiServerMCPClient({
"taranis": {
"transport": "streamable_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,
)
response = await agent.ainvoke({
"messages": [{
"role": "user",
"content": "Using Taranis, show me what tools are available.",
}]
})
print(response["messages"][-1].content)
asyncio.run(main())
* 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 Taranis MCP Server
Connect your Taranis AI Scouting API to any AI agent and take full control of AI-powered crop threat detection, ultra-high-resolution imagery analysis, field scouting recommendations, and precision agriculture decision-making through natural conversation.
LangChain's ecosystem of 500+ components combines seamlessly with Taranis through native MCP adapters. Connect 12 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.
What you can do
- Organizations — List all agricultural organizations and farms in your Taranis account
- Field Management — View all monitored fields with crop types, boundaries, and growth stages
- Flight History — Review all drone and aircraft flight missions with imagery acquisition dates
- Flight Imagery — Access ultra-high-resolution orthomosaics, DSMs, and NDVI maps from each flight
- All Detections — Get comprehensive AI-detected threats (weeds, diseases, pests, nutrients) in any field
- Threat Summary — View consolidated threat severity assessments and trend analysis per field
- Scouting Recommendations — Receive AI-powered action plans for targeted field scouting missions
- Multispectral Analysis — Access NDVI, NDRE, and GNDVI vegetation indices for vigor assessment
- Weed Detection — Identify specific weed species with coverage estimates and herbicide recommendations
- Disease Detection — Detect crop diseases with severity levels and fungicide treatment suggestions
- Nutrient Analysis — Identify nutrient deficiencies with variable rate fertilization recommendations
The Taranis MCP Server exposes 12 tools through the Vinkius. Connect it to LangChain 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 Taranis to LangChain via MCP
Follow these steps to integrate the Taranis MCP Server with LangChain.
Install dependencies
Run pip install langchain langchain-mcp-adapters langgraph langchain-openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save the code and run python agent.py
Explore tools
The agent discovers 12 tools from Taranis via MCP
Why Use LangChain with the Taranis MCP Server
LangChain provides unique advantages when paired with Taranis through the Model Context Protocol.
The largest ecosystem of integrations, chains, and agents. combine Taranis MCP tools with 500+ LangChain components
Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step
LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging
Memory and conversation persistence let agents maintain context across Taranis queries for multi-turn workflows
Taranis + LangChain Use Cases
Practical scenarios where LangChain combined with the Taranis MCP Server delivers measurable value.
RAG with live data: combine Taranis tool results with vector store retrievals for answers grounded in both real-time and historical data
Autonomous research agents: LangChain agents query Taranis, synthesize findings, and generate comprehensive research reports
Multi-tool orchestration: chain Taranis tools with web scrapers, databases, and calculators in a single agent run
Production monitoring: use LangSmith to trace every Taranis tool call, measure latency, and optimize your agent's performance
Taranis MCP Tools for LangChain (12)
These 12 tools become available when you connect Taranis to LangChain via MCP:
get_detections
Returns detection locations (GPS coordinates), threat types (weeds, diseases, pests, nutrient deficiencies), severity levels, confidence scores, affected area estimates, and recommended actions. Detections are classified by AI models trained on millions of field images for sub-millimeter accuracy. Essential for early threat identification, targeted scouting, and precision treatment planning. AI agents should use this when users ask "show me all detections in my field", "what threats were detected in field X", or need comprehensive threat analysis before planning field operations. Optional threatType filters detections by specific threat category. Get all AI-detected crop threats (weeds, diseases, pests, nutrient deficiencies) in a field
get_disease_detections
Returns disease locations, pathogen identification where possible, severity levels (early, moderate, advanced), affected plant parts, and recommended fungicide treatments. Essential for early disease intervention, fungicide planning, and yield loss prevention. AI agents should reference this when users ask "what diseases are in my soybean field", "show disease progression over time", or need disease-specific analysis for crop protection decisions. Get crop disease detections and severity assessments for a field
get_field_details
Essential for understanding field context before analyzing detections, planning scouting missions, or generating management recommendations. AI agents should reference this when users ask "tell me about this field", "what crop is planted in field X", or need detailed field metadata for context-aware analysis. Get detailed information about a specific agricultural field
get_fields
Returns field names, IDs, boundaries (GeoJSON polygons), area in hectares/acres, crop type, planting dates, and monitoring status. Essential for farm management overview, field inventory, and selecting target fields for threat detection and scouting analysis. AI agents should use this when users ask "show me all fields in my organization", "list monitored fields", or need to identify available fields for detection or flight queries. Optional orgId filters fields by specific organization. List all agricultural fields monitored by Taranis for an organization
get_flight_imagery
Returns orthomosaic mosaics, digital surface models (DSM), digital terrain models (DTM), normalized difference vegetation index (NDVI) maps, and true-color RGB composites. Essential for visual crop assessment, change detection between flights, and downloading high-resolution imagery for GIS analysis. AI agents should reference this when users ask "show me the latest imagery from this flight", "get the NDVI map for flight X", or need specific imagery products for field analysis. Get ultra-high-resolution imagery products from a specific flight mission
get_flights
Returns flight dates, times, aircraft type, imagery resolution, weather conditions during flight, coverage percentage, and processing status. Essential for understanding imagery acquisition history, assessing data quality, and selecting specific flights for detailed analysis. AI agents should use this when users ask "show me all flights over my corn field", "what imagery was captured last week", or need flight metadata before accessing specific imagery products. List all drone or aircraft flights that captured imagery for a specific field
get_multispectral_imagery
Supports indices including NDVI (Normalized Difference Vegetation Index), NDRE (Normalized Difference Red Edge), GNDVI (Green NDVI), and custom band combinations. Returns imagery layers, statistical summaries (mean, min, max, std), and zone classifications. Essential for crop vigor assessment, variable rate application planning, and growth stage monitoring. AI agents should reference this when users ask "show me NDVI map for my field", "get multispectral analysis", or need vegetation index data for precision agriculture planning. Get multispectral imagery and vegetation indices (NDVI, NDRE, GNDVI) for a field
get_nutrient_detections
Returns deficiency locations, severity estimates, affected growth stages, and variable rate fertilization recommendations. Essential for precision nutrient management, yield optimization, and cost-efficient fertilization planning. AI agents should use this when users ask "does my field have nutrient deficiencies", "where do I need to apply nitrogen", or need nutrient-specific analysis for variable rate application planning. Get nutrient deficiency detections and fertilization recommendations for a field
get_organizations
Returns organization names, IDs, contact information, and field counts. Essential for multi-account management, selecting target organizations for field analysis, and understanding the scope of monitored agricultural operations. AI agents should use this when users ask "show me all my organizations", "list farms I have access to", or need to identify available organizations before querying fields or detections. List all organizations available to the user in Taranis platform
get_scouting_recommendations
Returns specific action items including ground truth verification locations, recommended scouting patterns, treatment suggestions, timing recommendations, and priority levels. Essential for field team coordination, targeted scouting missions, and data-driven treatment decisions. AI agents should use this when users ask "what should I scout for in my field this week", "give me scouting recommendations", or need AI-generated action plans based on latest imagery analysis. Get AI-powered scouting recommendations and action plans for a field
get_threats
Returns threat categories, overall severity ratings (low, medium, high, critical), affected area percentages, trend analysis (increasing, stable, decreasing), and priority rankings. Essential for quick field health assessment, prioritizing scouting missions, and making informed treatment decisions. AI agents should reference this when users ask "what is the overall threat level in my field", "summarize field health status", or need a high-level threat overview before diving into individual detections. Get consolidated threat summary and severity assessment for a field
get_weed_detections
Returns weed locations, estimated coverage area, species classification, growth stage, and herbicide resistance indicators. Essential for targeted spot spraying, herbicide selection, and resistance management. AI agents should use this when users ask "where are the weeds in my field", "what weed species were detected", or need weed-specific analysis for precision herbicide application. Get specific weed species detections and infestation maps for a field
Example Prompts for Taranis in LangChain
Ready-to-use prompts you can give your LangChain agent to start working with Taranis immediately.
"Show me all AI-detected threats in my corn field from the latest flight."
"Generate scouting recommendations for my soybean field this week."
"What is the overall threat level and NDVI trend for my wheat field this season?"
Troubleshooting Taranis MCP Server with LangChain
Common issues when connecting Taranis to LangChain through the Vinkius, and how to resolve them.
MultiServerMCPClient not found
pip install langchain-mcp-adaptersTaranis + LangChain FAQ
Common questions about integrating Taranis MCP Server with LangChain.
How does LangChain connect to MCP servers?
langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.Which LangChain agent types work with MCP?
Can I trace MCP tool calls in LangSmith?
Connect Taranis with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Taranis to LangChain
Get your token, paste the configuration, and start using 12 tools in under 2 minutes. No API key management needed.
