Neptune Apex MCP Server
Pushes Neptune Fusion manual water-test measurements to Home Assistant as sensor entities (sensor.reef_manual_*) and supports scheduled syncing via a standalone script.
Provides full read/write access to a Neptune Apex aquarium controller, including probe and sensor readings, outlet states and programs, feed cycles, power history, dosing status, and system configuration; optionally fetches manual water-test history from Neptune Fusion.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Neptune Apex MCP Server
An MCP (Model Context Protocol) server for the Neptune Systems Apex aquarium controller. Gives AI assistants like Claude full read/write access to your Apex — probe readings, outlet control, program editing, feed cycles, and more.
Optionally integrates with Neptune Fusion cloud for manual water test history, and Home Assistant for syncing measurements as sensor entities.
Features
Local Apex Control (via REST API)
Read all probe/sensor values (temperature, pH, ORP, salinity, alkalinity, calcium, magnesium, power, digital inputs)
Read and set outlet states (ON / OFF / AUTO)
Read and write outlet programs (full Apex programming language)
Trigger and cancel feed cycles (A/B/C/D)
Get system info, power history, dosing pump status
Full configuration dump
Neptune Fusion Cloud (optional)
Fetch manually-logged water test measurements (NO3, PO4, Alk, Ca, Mg, Salinity, pH, Ammonia, Nitrite)
Measurement summaries and latest values
Uses Playwright headless browser for auth (Neptune doesn't offer a public API)
Home Assistant Integration (optional)
Push Fusion manual measurements to HA as sensor entities
Standalone sync script for scheduled runs
Related MCP server: Home Assistant MCP Server
Requirements
Python 3.11+
A Neptune Apex controller on your local network
pip install -r requirements.txtFor Fusion features:
playwright install chromium
Setup
1. Install dependencies
pip install -r requirements.txt
playwright install chromium # only needed for Fusion cloud features2. Configure environment variables
Copy .env.example to .env and fill in your values:
cp .env.example .envVariable | Required | Description |
| Yes | IP address of your Apex controller |
| Yes | Apex local login username |
| Yes | Apex local login password |
| No | Neptune Fusion username (defaults to APEX_USER) |
| No | Neptune Fusion password (defaults to APEX_PASS) |
| No | Your Apex ID from the Fusion URL ( |
| No | Home Assistant URL (e.g. |
| No | Home Assistant long-lived access token |
3. Add to your MCP client
Claude Code (~/.claude.json)
{
"mcpServers": {
"neptune-apex": {
"type": "stdio",
"command": "python3",
"args": ["/path/to/neptune-apex-mcp/server.py"],
"env": {
"APEX_HOST": "192.168.1.100",
"APEX_USER": "admin",
"APEX_PASS": "your_password"
}
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"neptune-apex": {
"command": "python3",
"args": ["/path/to/neptune-apex-mcp/server.py"],
"env": {
"APEX_HOST": "192.168.1.100",
"APEX_USER": "admin",
"APEX_PASS": "your_password"
}
}
}
}Available Tools
Probes & Sensors
Tool | Description |
| All probe readings (temp, pH, ORP, salinity, amps, watts, digital switches) |
| Single probe by name |
| Key water quality params only (temp, pH, ORP, salinity, alk, ca, mg) |
| Power draw per outlet (watts and amps) |
| Float switches, leak detectors, buttons |
Outlets & Programs
Tool | Description |
| All outlet states |
| Single outlet state |
| Read an outlet's Apex program |
| Set outlet to ON, OFF, or AUTO |
| Write a new Apex program to an outlet |
Feed & System
Tool | Description |
| Start a feed cycle (A/B/C/D) |
| Cancel active feed cycle |
| Check if a feed cycle is active |
| Hostname, firmware, serial |
| Last power failure/restore timestamps |
| DOS/DQD pump volumes |
| Complete configuration dump |
Fusion Cloud (optional)
Tool | Description |
| Manual water test history from Fusion |
| Summary stats per parameter |
| Most recent value per parameter |
| Push measurements to Home Assistant |
Standalone Fusion-to-HA Sync
For scheduled syncing (e.g. every 6 hours), run the standalone script:
export FUSION_USER=your_user FUSION_PASS=your_pass FUSION_APEX_ID=your_id
export HA_URL=http://192.168.1.100:8123 HA_TOKEN=your_token
python3 sync_fusion_to_ha.pyThis creates/updates sensor.reef_manual_* entities in Home Assistant.
Compatibility
Tested with:
Neptune Apex A3 (firmware 5.x)
Neptune Fusion cloud (as of 2025)
Python 3.11, 3.12, 3.13
Claude Code, Claude Desktop
Should work with any Apex model that has the local REST API (Apex, Apex EL, Apex Jr with network module).
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Home energy for AI assistants: live Power flow, Energy history, solar forecast, and device control.
Control your Tesla from your AI assistant - climate, charging, access, and security.
Connect your health, fitness, nutrition, sleep, and wearable data to your AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Home Assistant smart home devices through natural language. Control devices, manage automations, query entity states, and retrieve historical data across your home automation system.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Home Assistant via natural language, including device control, automation management, and system monitoring.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to read Home Assistant entity states, call any service, and optionally apply named scene presets from a catalog using plain-English descriptions.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to interact with Home Assistant through natural language, including device control, state queries, service execution, and management of automations, scripts, dashboards, and backups.MIT