VoltPlan MCP API
Wiring-diagram MCP server (Model Context Protocol over Streamable HTTP): diagram generation and electrical calculations. No authentication.
Wiring-diagram MCP server (Model Context Protocol over Streamable HTTP): diagram generation and electrical calculations. No authentication.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/voltplan-app:voltplan-app-mcp-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: VoltPlan MCP API
version: 0.3.0
description: 'VoltPlan''s HTTP API. The wiring-diagram MCP server (Model Context Protocol over Streamable HTTP, tag `MCP`, at `/.well-known/mcp`) generates 12V/24V/48V wiring diagrams and performs wire gauge, fuse, battery bank, inverter, solar, and charging-time calculations; it needs no API key or account. The REST endpoints under `/api` serve the VoltPlan web app. Authentication: public endpoints need no credentials; user endpoints expect a PocketBase `users` auth token as `Authorization: Bearer ` (`userBearer`); admin endpoints additionally require `is_admin=true` and answer 403 otherwise (`adminBearer`); the IndexNow trigger uses a shared secret (`indexNowBearer`). Each operation''s `security` field names its requirement.'
contact:
name: VoltPlan
url: https://voltplan.app/developers
email: support@voltplan.app
license:
name: MIT
url: https://github.com/YUZU-Hub/wiring-diagram-mcp/blob/main/LICENSE
servers:
- url: https://voltplan.app
tags:
- name: MCP
description: 'Wiring-diagram MCP server (Model Context Protocol over Streamable HTTP): diagram generation and electrical calculations. No authentication.'
paths:
/.well-known/mcp:
summary: MCP Streamable HTTP endpoint
description: VoltPlan-hosted proxy to the live MCP endpoint (Model Context Protocol over Streamable HTTP). The request body and the `Content-Type`, `Accept`, `Mcp-Session-Id` and `Mcp-Protocol-Version` headers are forwarded unchanged. The same interface is directly reachable at https://mcp.voltplan.app/mcp (canonical endpoint).
x-canonical-endpoint: https://mcp.voltplan.app/mcp
post:
operationId: callMcp
tags:
- MCP
summary: Send an MCP JSON-RPC message (initialize, tools/list, tools/call, ...)
description: 'Streamable HTTP transport: send one JSON-RPC 2.0 request per call. Start with `initialize`, then `tools/list` to enumerate tools, then `tools/call` with `{ name, arguments }` to run one. The response is `application/json` or `text/event-stream` depending on the `Accept` header sent.'
parameters:
- name: Mcp-Session-Id
in: header
required: false
description: Session id returned by `initialize`; required on every call after that.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcRequest'
examples:
initialize:
value:
jsonrpc: '2.0'
id: 1
method: initialize
params:
protocolVersion: '2024-11-05'
capabilities: {}
clientInfo:
name: example-client
version: 0.0.1
callTool:
value:
jsonrpc: '2.0'
id: 2
method: tools/call
params:
name: calculate_wire_gauge
arguments: {}
responses:
'200':
description: JSON-RPC result or SSE stream of JSON-RPC messages
headers:
Mcp-Session-Id:
description: Session id assigned by the server on `initialize`; send it back as the `Mcp-Session-Id` request header on every later call. Forwarded unchanged from the upstream MCP server.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcResponse'
text/event-stream:
schema:
type: string
'502':
description: MCP upstream unreachable; the proxy answers with a JSON-RPC error envelope.
content:
application/json:
schema:
$ref: '#/components/schemas/JsonRpcResponse'
example:
jsonrpc: '2.0'
error:
code: -32000
message: MCP upstream unreachable
get:
operationId: openMcpStream
tags:
- MCP
summary: Open the server-initiated SSE stream for an existing session
parameters:
- name: Mcp-Session-Id
in: header
required: true
description: Session id returned by `initialize`; required on every call after that.
schema:
type: string
responses:
'200':
description: text/event-stream of server-initiated JSON-RPC messages
headers:
Mcp-Session-Id:
description: Session id assigned by the server on `initialize`; send it back as the `Mcp-Session-Id` request header on every later call. Forwarded unchanged from the upstream MCP server.
schema:
type: string
content:
text/event-stream:
schema:
type: string
delete:
operationId: closeMcpSession
tags:
- MCP
summary: Terminate an MCP session
parameters:
- name: Mcp-Session-Id
in: header
required: true
description: Session id returned by `initialize`; required on every call after that.
schema:
type: string
responses:
'204':
description: Session closed
options:
operationId: preflightMcp
tags:
- MCP
summary: CORS preflight for browser-based MCP clients
description: Answered by VoltPlan without contacting the upstream server.
responses:
'204':
description: Preflight accepted; no body.
headers:
Access-Control-Allow-Origin:
schema:
type: string
enum:
- '*'
Access-Control-Allow-Methods:
schema:
type: string
enum:
- GET, POST, DELETE, OPTIONS
Access-Control-Allow-Headers:
schema:
type: string
enum:
- Content-Type, Accept, Mcp-Session-Id, Mcp-Protocol-Version
Access-Control-Expose-Headers:
schema:
type: string
enum:
- Mcp-Session-Id
components:
schemas:
JsonRpcResponse:
type: object
properties:
jsonrpc:
const: '2.0'
id:
oneOf:
- type: string
- type: integer
result:
type: object
additionalProperties: true
error:
$ref: '#/components/schemas/JsonRpcError'
JsonRpcError:
type: object
properties:
code:
type: integer
message:
type: string
JsonRpcRequest:
type: object
required:
- jsonrpc
- method
properties:
jsonrpc:
const: '2.0'
id:
oneOf:
- type: string
- type: integer
method:
type: string
enum:
- initialize
- tools/list
- tools/call
params:
type: object
additionalProperties: true
securitySchemes:
userBearer:
type: http
scheme: bearer
bearerFormat: JWT
description: 'PocketBase `users` auth token sent as `Authorization: Bearer <token>`. The server validates it per request with a PocketBase `authRefresh` call.'
adminBearer:
type: http
scheme: bearer
bearerFormat: JWT
description: Same PocketBase `users` auth token as `userBearer`, validated with `authRefresh`; the user record must additionally have `is_admin=true`. Missing, invalid and non-admin tokens all receive 403 (`AdminForbidden`).
indexNowBearer:
type: http
scheme: bearer
description: 'Shared secret configured server-side as `INDEXNOW_SECRET`, sent as `Authorization: Bearer <secret>`. A missing or wrong secret receives 401.'
externalDocs:
description: MCP server source, tool parameter schemas, and changelog
url: https://github.com/YUZU-Hub/wiring-diagram-mcp
x-mcp-tools:
- name: generate_wiring_diagram
description: Generate a complete 12V/24V/48V wiring diagram from a list of components (batteries, loads, chargers, solar panels, inverters). Returns PNG or SVG.
- name: calculate_wire_gauge
description: Calculate the correct wire gauge (AWG and mm²), voltage drop, and fuse size for a DC circuit given voltage, current, and cable length.
- name: calculate_battery_bank
description: Size a battery bank for a given daily energy demand, days of autonomy, and depth of discharge.
- name: calculate_battery_config
description: Work out a series/parallel configuration of individual cells or batteries for a target system voltage and capacity.
- name: calculate_charging_time
description: Estimate battery charging time from a given charger or solar array.
- name: calculate_inverter_size
description: Recommend an inverter size based on AC load profile, surge requirements, and system voltage.
- name: calculate_power_budget
description: Build a 24h power budget from loads to size batteries, solar, and wiring.
- name: calculate_solar_size
description: Size a solar array based on daily energy needs, location / sun hours, and system voltage.
- name: list_component_types
description: List the component types VoltPlan knows about (batteries, chargers, loads, inverters, panels, etc.).
- name: find_components
description: Find products in VoltPlan's small, curated component catalogue that match a spec (category, system voltage, watts, Ah/Wh, pure sine, free text), closest rating first, with product pages and buy links plus an always-available Amazon search fallback.
- name: build_bom
description: 'Build the full shopping list (bill of materials) for a system described like generate_wiring_diagram: components with matching catalogue products, cables per gauge, fuses, fuse holders, terminals, heat-shrink, and tools, with buy links.'