Meshtastic® + MeshCore™ 12 AI Providers 30+ Extensions MCP Server Off-Grid

MESH-API

A Meshtastic® + MeshCore™ mesh router & API / AI bridge — your off-grid mesh, supercharged.

MESH-API bridges LoRa mesh networks with AI chatbots and third-party APIs in real time. Run Meshtastic, MeshCore, or both — with cross-network routing, agentic AI control, and a modern WebUI dashboard. Even fully off-grid.

Latest release: MESH-API v0.7.4.1 Beta - Send Composer Revamp, Previously Seen Nodes & MeshCore Presence Fix
mr-tbot/mesh-api

What it is

Not just an AI chatbot — a mesh backbone.

MESH-API is an experimental router and AI bridge for LoRa mesh networks. It's a protocol bridge and mesh backbone that lets LoRa networks, online or locally-hosted services, and any API talk to each other in real time. Hook up an AI and your mesh answers questions, runs commands, and routes messages — even fully off-grid.

Full Mesh Router

A protocol bridge and mesh backbone that routes, translates, and posts messages between systems and services.

AI-Powered & Offline-Capable

Run local models (Ollama, LM Studio) or any cloud provider, so decisions and answers keep flowing without the internet.

Expandable by Design

Any software with a working API can be integrated through 30+ drop-in extensions and the MCP server.

Feature grid

Everything your mesh needs in one bridge.

From multi-radio routing to agentic AI, emergency alerts, and a draggable dashboard.

Multi-Radio

Meshtastic, MeshCore, or both — with cross-network routing between the two.

12+ AI Providers

OpenAI, Claude, Gemini, Grok, OpenRouter, Groq, DeepSeek, Mistral, Hermes, plus local LM Studio / Ollama and any OpenAI-compatible endpoint.

30+ Drop-In Extensions

Discord, Matrix, Mastodon, MQTT, APRS, BBS, weather, alerts and more — add or remove by copying a folder.

MCP Server

Agentic AI control of the mesh via the Model Context Protocol — bearer-token auth, disabled by default.

Emergency Alerts

Twilio SMS, SMTP email, and Discord — with GPS coordinates and UTC timestamps.

Interactive Node Map

Leaflet map with 25 tile providers and offline map-image support for fully off-grid use.

Slash Commands

Customizable, per-install randomized AI command aliases to avoid collisions across meshes.

WebUI Dashboard

Draggable panels, collapsible channel groups, notification sounds, and per-node controls.

Firmware & Updates

Detects connected devices and notifies you when Meshtastic, MeshCore, or MESH-API updates are available.

Multi-radio

Meshtastic, MeshCore, or both.

MeshCore is a first-class, core-owned radio on equal footing with Meshtastic — connecting over serial, TCP, or BLE. Run one, the other, or both with MESH-API as the cross-network bridge.

Meshtastic-only

The classic setup. Plug in a Meshtastic node and every command, AI feature, and extension works natively.

MeshCore-only

Fully standalone — no Meshtastic device required. MeshCore traffic flows through the same network-agnostic pipeline.

Both (cross-network bridge)

MESH-API sits in the middle as a man-in-the-middle router, optionally bridging chat between the two networks.

Diagram: Meshtastic and MeshCore radios bridged through MESH-API
AI providers & agents

Bring your own AI — cloud or fully local.

Twelve providers supported, plus agent integrations like OpenClaw. Run offline with Ollama or LM Studio for AI that works with no internet at all.

Ollama (local) LM Studio (local) OpenAI Claude Gemini Grok OpenRouter Groq DeepSeek Mistral Hermes OpenAI-compatible Home Assistant OpenClaw (agent)

Offline-first: local models (Ollama, LM Studio) keep your mesh intelligent with zero internet dependency.

Extensions ecosystem

30+ drop-in extensions across 7 categories.

Drop a folder into extensions/ — no core changes. Manage everything from the WebUI Extensions Manager.

Communication

Discord, Slack, Telegram, Matrix, Signal, WhatsApp, Mattermost, Zello, MQTT, Mastodon, IMAP and the n8n workflow-automation bridge.

Notifications

Apprise, Ntfy, Pushover, PagerDuty, OpsGenie.

Emergency & Weather

NWS Alerts, OpenWeatherMap, USGS Earthquakes, GDACS, Amber Alerts, NASA Space Weather.

Ham Radio & Off-Grid

Winlink, APRS, BBS.

Smart Home

Home Assistant conversation routing with optional PIN security.

Mesh Bridging

Cross-network routing between Meshtastic and MeshCore.

AI Agents

OpenClaw and channel-assigned AI agents.

Build Your Own

A documented plugin API with hooks, routes and background threads.

Agentic AI

A built-in MCP server.

MESH-API exposes its core functions and every extension as MCP tools at POST /mcp, so external AI agents — Claude, Perplexity, Hermes, custom agents — can drive your Meshtastic and/or MeshCore networks as an agentic backend.

Bearer-token auth, origin validation, and rate limiting. Disabled by default — there's always a human in the loop.

Applications

Where MESH-API fits.

Off-grid emergency comms

Resilient signaling when cellular and internet are down.

Event & field coordination

Coordinate teams across a site with mesh + AI.

Home & sensor automation

Bridge your mesh to Home Assistant and automation flows.

Mesh ↔ Discord / Matrix / Slack

Relay messages between LoRa and your team chat.

AI assistant on the trail

Ask questions and run commands from a node off-grid.

Amateur radio experiments

APRS, Winlink, BBS and ham-radio off-grid tooling.

Get started

Clone, install, and run.

The Quick Start from the GitHub README — Python 3.11+ on Windows or Linux, or run it with Docker. On first launch the in-app Setup Wizard walks you through configuration.

1

Clone the repository

git clone https://github.com/mr-tbot/mesh-api.git
2

Install dependencies

pip install -r requirements.txt
3

Start MESH-API

python mesh-api.py
4

Open the dashboard

http://localhost:5000/dashboard

Prefer Docker?

docker compose up -d
LiftSignal Skymarker tethered balloon beacon powered by MESH-API
Partner project Powering LiftSignal

Proudly powering LiftSignal.net.

MESH-API partners with and powers the LiftSignal Skymarker — a quickly deployable tethered balloon beacon for emergency signaling and off-grid communication. Skymarker uses MESH-API for integration pathways: API-driven alerts, dashboards, monitoring, and mesh-aware features across Meshtastic and MeshCore.


Your off-grid mesh, supercharged

Bring AI to your LoRa mesh today.

Open source, runs on a Raspberry Pi, and works fully off-grid. Meshtastic + MeshCore + AI in one bridge.