Connect the data to any AI with one link and your key
The platform is ready for native integration: an MCP server, a REST API, OpenAPI and instructions written specifically for AI assistants. You do not need to configure anything by hand.
Get your key
From Account → Settings. It starts with si_live_.
Give your assistant the message below
Claude, ChatGPT, Cursor, Copilot, Gemini or any agent that can read a link.
Done
The assistant detects its environment, sets up MCP or writes the client in your project, stores the key safely and verifies the connection.
Message for your AI assistant
Integrate my Solar Industry Romania subscription into this project. Follow the instructions at https://solarindustry.ro/docs/ai.md exactly. My API key is: KEY
Replace KEY with your key. The assistant keeps it in an environment variable (SOLARINDUSTRY_API_KEY), never in code. If a key ends up somewhere it should not, generate a new one in Settings and the old one stops working at once.
What the assistant gets
MCP
MCP server at https://solarindustry.ro/mcp (Streamable HTTP). The assistant asks directly: “how much did solar produce yesterday at noon?”
REST API
JSON or CSV at 15-minute, hourly or daily resolution, for apps, scripts, dashboards and models.
Context
Definitions, units, sources, value type and citation format, so answers are correct and verifiable.
Manual setup, if you prefer
Exactly what the assistant does for you. Replace KEY with your key or set the SOLARINDUSTRY_API_KEY variable.
Claude Code
claude mcp add --transport http --scope user solarindustry https://solarindustry.ro/mcp \ --header "Authorization: Bearer $SOLARINDUSTRY_API_KEY"
Claude Desktop · claude.ai
Settings → Connectors → Add custom connector Name: Solar Industry URL: https://solarindustry.ro/mcp?key=KEY
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"solarindustry": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://solarindustry.ro/mcp", "--header", "Authorization: Bearer ${SOLARINDUSTRY_API_KEY}"],
"env": { "SOLARINDUSTRY_API_KEY": "KEY" }
}
}
}ChatGPT
Settings → Apps & Connectors → Advanced → Developer mode → Create Name: Solar Industry MCP server URL: https://solarindustry.ro/mcp?key=KEY Authentication: none (the key is in the URL)
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"solarindustry": {
"url": "https://solarindustry.ro/mcp",
"headers": { "Authorization": "Bearer ${env:SOLARINDUSTRY_API_KEY}" }
}
}
}VS Code · GitHub Copilot (.vscode/mcp.json)
{
"inputs": [
{ "type": "promptString", "id": "si-key", "description": "Solar Industry API key", "password": true }
],
"servers": {
"solarindustry": {
"type": "http",
"url": "https://solarindustry.ro/mcp",
"headers": { "Authorization": "Bearer ${input:si-key}" }
}
}
}Windsurf (~/.codeium/windsurf/mcp_config.json)
{
"mcpServers": {
"solarindustry": {
"serverUrl": "https://solarindustry.ro/mcp",
"headers": { "Authorization": "Bearer ${env:SOLARINDUSTRY_API_KEY}" }
}
}
}OpenAI Codex CLI (~/.codex/config.toml)
[mcp_servers.solarindustry] url = "https://solarindustry.ro/mcp" bearer_token_env_var = "SOLARINDUSTRY_API_KEY"
Gemini CLI (~/.gemini/settings.json)
{
"mcpServers": {
"solarindustry": {
"httpUrl": "https://solarindustry.ro/mcp",
"headers": { "Authorization": "Bearer $SOLARINDUSTRY_API_KEY" }
}
}
}Python
import os, requests
API = "https://solarindustry.ro/api/v1"
H = {"Authorization": f"Bearer {os.environ['SOLARINDUSTRY_API_KEY']}"}
def series(metrics, start, end, res="1h"):
r = requests.get(f"{API}/series", headers=H, timeout=30,
params={"metrics": ",".join(metrics), "from": start, "to": end, "res": res})
r.raise_for_status()
return r.json()["data"] # list of {ts, solar, price, ...}
print(requests.get(f"{API}/latest", headers=H, timeout=30).json()["data"])TypeScript · Node
const API = "https://solarindustry.ro/api/v1";
const H = { Authorization: `Bearer ${process.env.SOLARINDUSTRY_API_KEY}` };
export async function series(metrics: string[], from: string, to: string, res = "1h") {
const q = new URLSearchParams({ metrics: metrics.join(","), from, to, res });
const r = await fetch(`${API}/series?${q}`, { headers: H });
if (!r.ok) throw new Error(`solarindustry ${r.status}: ${await r.text()}`);
return (await r.json()).data as Array<Record<string, number | string>>;
}curl
curl -H "Authorization: Bearer $SOLARINDUSTRY_API_KEY" https://solarindustry.ro/api/v1/latest curl -H "Authorization: Bearer $SOLARINDUSTRY_API_KEY" \ "https://solarindustry.ro/api/v1/series?metrics=solar,price&from=2026-11-01&to=2026-11-21&res=1h&format=csv" -o solar.csv
Excel · Power Query
Data → From Web → Advanced URL: https://solarindustry.ro/api/v1/series?metrics=solar,wind,price&from=2026-11-01&to=2026-11-21&res=1h&format=csv HTTP request header: Authorization = Bearer KEY
Google Sheets
=IMPORTDATA("https://solarindustry.ro/api/v1/series?metrics=solar,price&res=1h&format=csv&key=KEY")MCP tools
get_latest | latest 15-minute interval |
get_series | time series for any metric |
compare_days | compares two days |
get_daily_note | the daily note |
list_notes | recent notes |
get_solar_forecast | solar forecast for today and tomorrow |
get_metric_definitions | definitions, units, sources |
Limits by plan
| Plan | History | Resolution | Requests per day | Per minute | MCP | Forecast |
|---|---|---|---|---|---|---|
| Public | 7 days | 1h | 200 | 30 | 7 days | – |
| Pro | full | 15m | 1,000 | 60 | ||
| Data API | full | 15m | 5,000 | 90 | ||
| Licență | full | 15m | 20,000 | 120 |
Without a key you get the last 7 days, hourly. The X-RateLimit-Limit and X-RateLimit-Used headers show the day’s usage.
Questions
My assistant cannot run commands. Does it work?
Yes. In chat apps (Claude, ChatGPT) you add a connector with the MCP address and the key in the URL; the assistant tells you exactly where to click. Coding agents (Claude Code, Cursor, Copilot, Codex) do everything themselves.
Is it safe to give an AI my key?
The key only allows reading the data in your subscription, not your account, invoices or settings. The instructions tell the assistant never to write it in code or print it. You can generate a new one at any time.
Can I use the same key in several projects?
Yes, the daily request limit is per key, wherever requests come from. For teams and large volumes there is the Licence plan.
How does the assistant cite the data?
“Solar Industry Romania (solarindustry.ro), from Transelectrica and OPCOM public data”. Every API response carries the citation and value type.