SciPilot
Natural language interface for scientific command-line tools via MCP
SciPilot
Natural language interface for scientific command-line tools via Model Context Protocol (MCP).
SciPilot bridges the gap between natural language and scientific CLI tools. Define your tool once in YAML, then let LLMs handle the rest — parameters, file paths, output parsing, the works. Works for any command-line worth talking to.
Quick Start
git clone https://github.com/grebenyyk/scipilot
cd scipilot
pip install -e .
scipilot --tools-dir ./tools
Usage
- Add tool descriptors to
tools/(seeexamples/raspa.yaml) - Connect MCP client (Claude Desktop, VS Code, etc.)
- Ask in natural language:
- "Run a helium void fraction calculation on MIL-47 at 298 K"
- "Compare results from yesterday's simulations"
Tool Descriptor Format
You write a tool descriptor — a YAML file that tells SciPilot:
• What your tool expects (inputs, types, defaults) • How to build the command (templates) • Where to find the output (file paths, regex patterns) SciPilot exposes these as MCP tools that any LLM can call.
tool:
name: mytool
binary: mytool
operations:
- name: run_simulation
description: "Run a simulation"
inputs:
- name: input_file
type: file
required: true
outputs:
- name: result
path: "output.txt"
extract_pattern: "Result: ([0-9.]+)"
See examples/ for complete tool descriptors.
⚠️ Security Note: Tool YAML files execute with full shell privileges. Only load tool descriptors you trust and have reviewed. User inputs are substituted directly into shell command templates.
Project Structure
scipilot/
├── server.py # MCP server entry point
├── tool_loader.py # YAML parsing, tool discovery
├── executor.py # Subprocess execution, output parsing
└── models.py # Dataclasses for tool descriptors
tools/ # Your tool descriptors (gitignored)
examples/ # Example descriptors
Development
# Run tests
pytest
# Type checking
mypy scipilot/
# Format
ruff format .
License
MIT
相關伺服器
Context-Fabric
Corpus search and linguistic analysis for AI Agents
VMS Integration
Connects to a CCTV recording program (VMS) to retrieve recorded and live video streams and control the VMS software.
sapient-mcp
MCP toAutomate SAP GUI
Airthings Consumer
Monitor air quality with Airthings devices.
Draw-it MCP
An AI-powered drawing application for your browser. Draw, save, and get AI-powered insights.
Soccer MCP Server
Provides football (soccer) statistics and live match data using the API-Football service.
MCP Hub
A lightweight MCP Hub to centralize your MCP servers in one place.
MCP Simple Timeserver
Provides current local time, UTC time, and timezone information.
McpVanguard
An open-source security proxy and active firewall for the Model Context Protocol (MCP).
Hava Durumu
Provides weather data using the Open-Meteo API.