This is a Moose project bootstrapped with moose init
Prerequisites
- Install Moose:
bash -i <(curl -fsSL https://fiveonefour.com/install.sh) moose - Install dependencies:
cd aircraft/moose && npm install - Run Moose:
moose dev - In a new terminal, install frontend dependencies
cd aircraft/frontend && npm install - Configure the frontend API URL (optional):
- Copy the example environment file:
cp .env.example .env.local - Edit
.env.localand setNEXT_PUBLIC_API_URLto your backend URL- For local development, the default is
http://localhost:4000 - For production deployments, update to your Boreal URL (e.g.,
https://514-demos-planes-main-59be4.boreal.cloud)
- For local development, the default is
NEXT_PUBLIC_MCP_SERVER_URLto your MCP URL- For local development, the default is
http://localhost:4000 - For production deployments, update to your Boreal URL (e.g.,
https://514-demos-planes-main-59be4.boreal.cloud)
- For local development, the default is
ANTHROPIC_API_KEYto your private Anthropic API key
- Copy the example environment file:
- Run frontend:
npm run dev
You are ready to go!
You can start editing the app by modifying primitives in the app subdirectory. The dev server auto-updates as you edit the file.
This project gets data from http://adsb.lol.
This project includes an AI-powered chat interface that allows you to query aircraft tracking data using natural language.
- Start the backend (moose) and frontend servers (see Getting Started above)
- Open the dashboard at
http://localhost:3000 - Click the floating chat button in the bottom-right corner
- Ask questions about your aircraft data in natural language
- "How many aircraft are being tracked?"
- "Show me the 5 highest flying aircraft"
- "Which aircraft are on autopilot?"
- "What flights are currently on approach?"
- Natural Language Queries: Ask questions in plain English
- SQL Transparency: View the generated SQL queries
- Data Visualization: Results displayed in formatted tables
- Multi-Step Reasoning: See Claude's thought process across multiple iterations
The chat feature uses:
- Frontend: NextJS project containing a chat sidebar with Vercel's ai-sdk components
- Backend: Express API w/ MCP server at
/tools - AI Model: Anthropic Claude (claude-haiku-4-5)
- MCP Integration: Model Context Protocol server for ClickHouse queries
- Database: ClickHouse for fast analytics
For more technical details, see:
- Backend documentation:
moose/README.md - Frontend documentation:
frontend/README.md
To learn more about Moose, take a look at the following resources:
- Moose Documentation - learn about Moose.
The easiest way to deploy your Moose app is to use the Boreal from Fiveonefour, the creators of Moose.
This template is MIT licenced.