Skip to content
Back to search

autotunempc-examples

Python examples and MCP setup for AutoTuneMPC: constrained nonlinear MPC (CasADi/IPOPT) & Optuna tuning for robotics, batteries, and irrigation.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/kaiden8--autotunempc-examples/badge.svg)](/listings/kaiden8--autotunempc-examples)

HTML

<a href="/listings/kaiden8--autotunempc-examples"><img src="/api/listings/kaiden8--autotunempc-examples/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 33 lines
  1. # AutoTuneMPC examples
  2. ```bash
  3. claude mcp add --transport http autotunempc https://api.autotunempc.com/mcp
  4. ```
  5. Skill: https://autotunempc.com/SKILL.md
  6. Site: https://autotunempc.com
  7. ## Run in 30 seconds
  8. ```bash
  9. python3 validate.py
  10. export AUTOTUNE_API_KEY='paste the pack key'
  11. python3 differential_drive.py
  12. python3 battery_peak_shaving.py
  13. python3 root_zone_irrigation.py
  14. ```
  15. `validate.py` calls free `POST /v1/validate` and needs no key. The other three call paid `POST /v1/templates/autotune` and read `AUTOTUNE_API_KEY` from the environment. Nothing in this repo contains a key.
  16. ## Prices
  17. The $29 pack is 1000 solves and 4 autotunes. A template autotune spends 2 of those autotune credits.
  18. x402 prices are solve $0.02, autotune $1.50, and template autotune $2.00.
  19. `X-API-Key` is the human door. A 402 plus `PAYMENT-SIGNATURE` is the agent door.
  20. API: https://api.autotunempc.com
  21. MCP: https://api.autotunempc.com/mcp

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.