MCP Server
Pxie ships a hosted MCP server so AI assistants can call Pxie data as native tools:
https://mcp.pxie.ai/mcpRequires the Builder plan or higher. Tool calls are billed in credits at the same rates as the REST API, against the same balance.
Authentication
Section titled “Authentication”The server supports two methods — use whichever your client supports:
API key (Claude Code, Cursor, SDKs)
Section titled “API key (Claude Code, Cursor, SDKs)”Pass your regular Pxie API key as a Bearer token:
claude mcp add --transport http pxie https://mcp.pxie.ai/mcp \ --header "Authorization: Bearer pxie_live_YOUR_KEY"Per-key IP allowlists apply to MCP sessions too.
Sign in with your Pxie account (Claude, ChatGPT and other web apps)
Section titled “Sign in with your Pxie account (Claude, ChatGPT and other web apps)”Web apps connect with OAuth 2.1, so there is no key to copy: you add the server address and sign in with the same login as your Pxie dashboard.
Claude (claude.ai, desktop and mobile)
Section titled “Claude (claude.ai, desktop and mobile)”- Open Customize → Connectors (claude.ai/customize/connectors), select +, then Add custom connector.
- Name it Pxie and enter
https://mcp.pxie.ai/mcp. Leave Advanced settings empty — Claude registers itself automatically. - Select Add, then Connect.
- On the Connect to Pxie page, choose Continue with Pxie sign-in, sign in if asked, and select Allow on the permission screen.
- In a chat, open + → Connectors and switch Pxie on. Connectors are off in new conversations until you turn them on.
On Team and Enterprise plans, an organization Owner adds the connector first; each member then selects Connect to sign in with their own Pxie account.
ChatGPT
Section titled “ChatGPT”- Open Settings → Apps & Connectors → Advanced settings and turn on Developer mode (on workspace plans an admin may need to allow it).
- Select Create, name it Pxie, enter
https://mcp.pxie.ai/mcpand set Authentication to OAuth. - Complete the same Pxie sign-in and permission screens as above.
- In a chat, add Pxie from the tools menu.
What the sign-in looks like
Section titled “What the sign-in looks like”You see two screens: Pxie’s Connect to Pxie page, which names the app asking for access, then the account screen where you sign in and select Allow. You are then returned to Claude or ChatGPT. Sessions renew automatically; if you are ever signed out, select Connect again.
Signing in works on every plan, but tool calls need Builder or higher —
on Xplorer each call returns FORBIDDEN.
Troubleshooting
Section titled “Troubleshooting”- “Consent session expired — please start again” — the sign-in page was open for more than 10 minutes, or was submitted twice. Close it and select Connect again.
- “Sign-in session mismatch” — sign-in finished in a different browser from the one that started it. Start again in a single browser window.
- Tools don’t appear in chat — make sure the connector is switched on for that conversation.
- To disconnect, remove Pxie from your connectors in Claude or ChatGPT.
Other OAuth-capable MCP clients work the same way: the server supports discovery (RFC 9728), dynamic client registration and PKCE, so no manual app setup is needed.
Available Tools
Section titled “Available Tools”| Tool | Credits |
|---|---|
get_kp_index |
1 |
get_storm_class |
1 |
get_solar_wind |
3 |
get_space_weather_forecast |
3 |
get_solar_flares |
2 |
get_dst_index |
2 |
get_geomagnetic_indices |
2 |
get_aurora_probability |
10 |
get_aurora_oval |
8 |
get_substorm_status |
5 |
get_solar_wind_forecast |
3 |
get_cme_arrival |
5 |
get_moon |
1 |
get_sun |
1 |
get_darkness |
1 |
get_sky_conditions |
5 |
get_cloud_cover |
3 |
get_sea_surface_temperature |
3 |
get_bioluminescence_forecast |
5 |
get_local_kp |
3 |
get_light_pollution |
2 |
get_soil_properties |
3 |
get_soil_moisture |
2 |
get_agriculture_climate |
5 |
get_grid_assessment |
5 |
get_line_exposure |
5 |
get_storm_epicenter |
8 |
get_geoelectric_field |
5 |
get_substation_exposure |
8 |
get_network_exposure |
8 |
Grid substation and line registration and alert subscriptions are POST/DELETE
operations and are available on the REST API only — the MCP tools cover the
read-only assessments. get_substation_exposure and get_network_exposure use
the substations and lines you registered over REST.
Billing & Limits
Section titled “Billing & Limits”- Credits are deducted per tool call, only on success — failed or invalid calls cost nothing
- Rate limits follow your plan (Builder 300/min, Scale 1,200/min) on a counter separate from REST
- Tool errors are returned in-band with the same
codevalues as the REST API (RATE_LIMITED,CREDITS_EXHAUSTED, …), so agents can react programmatically - Usage appears in your dashboard alongside REST usage
- Transport: MCP Streamable HTTP (stateless). Server-initiated streams are
not used;
GET /mcpreturns 405. - Tool inputs are strictly validated (coordinate bounds, enums, date formats) before any billing or data access occurs.
- Attribution: tool results include
_attribution(the list of data sources) and_attribution_required(truewhen you must display it) — the same rules as the REST headers; see Attribution.
