SwitchAI
AI agent for Italian energy tariff comparison. Analyzes electricity and gas bills, compares 44+ offers from 13 providers, estimates savings with full ARERA regulated cost breakdown
README
SwitchAI — AI Agent per Tariffe Energia Italia
Sito: switchai.it · Mercato: Italia · Stack: React 19 + PHP 8.5 + WebMCP + MCP Server
SwitchAI è un agente AI nativo per il confronto e il cambio automatico del fornitore energia nel mercato libero italiano. Non è un comparatore tradizionale: l'utente fornisce la sua bolletta, e l'AI analizza i dati, confronta 44+ offerte attive di Luce e Gas, e attiva la tariffa migliore — tutto in linguaggio naturale.
Come funziona
Utente (linguaggio naturale)
↓
AI Agent (Claude, Gemini, ChatGPT, o qualsiasi LLM)
↓
SwitchAI Tools (WebMCP o MCP Server)
↓
API PHP → 44+ offerte live → sottoscrizione attivata
Tre canali di accesso per AI agent
| Canale | Protocollo | Requisiti |
|---|---|---|
| WebMCP | navigator.modelContext.registerTool() |
Chrome 146+ |
| MCP Server | @modelcontextprotocol/sdk Node.js |
Claude Desktop o client MCP |
| REST API | JSON/HTTPS | Qualsiasi client HTTP |
Tool disponibili
calculate_energy_savings
Confronta tariffe e calcola risparmio. Restituisce top 3 offerte + agent_summary in italiano pronto per l'utente.
POST /api/webmcp-endpoint
{
"commodity": "LUCE",
"yearly_consumption_kwh": 3000,
"zone": "NORD",
"current_annual_spend": 900
}
parse_energy_bill
Estrae dati strutturati da testo bolletta italiana (fornitore, POD/PDR, consumi, spesa, zona).
POST /api/parse-bill-text
{
"bill_text": "...testo bolletta..."
}
get_available_offers
Lista completa offerte: 25 luce + 19 gas con prezzi, tipo contratto, quota fissa.
GET /api/tariffe/luce
GET /api/tariffe/gas
submit_subscription
Attiva la sottoscrizione. Supporta dry_run: true per anteprima senza invio.
POST /api/subscription/submit
{
"tariff_id": "...",
"nome": "Mario",
"cognome": "Rossi",
"codice_fiscale": "RSSMRA80A01H501Z",
"email": "mario@example.com",
"dry_run": true
}
Configurazione MCP Server (Claude Desktop)
{
"mcpServers": {
"switchai": {
"command": "node",
"args": ["/percorso/assoluto/mcp-server/index.js"],
"env": {
"SWITCHAI_API_URL": "https://www.switchai.it/api"
}
}
}
}
Flusso ottimale per AI agent
1. parse_energy_bill(bill_text)
→ consumi, spesa, zona, POD/PDR
2. calculate_energy_savings(commodity, consumi, zona, spesa)
→ top 3 offerte + risparmio annuo + agent_summary
3. [con conferma utente] submit_subscription(tariff_id, dati)
→ attivazione completata
API Endpoints
| Method | Endpoint | Descrizione |
|---|---|---|
| GET | /api/health |
Health check |
| GET | /api/tariffe/luce |
25 offerte luce |
| GET | /api/tariffe/gas |
19 offerte gas |
| POST | /api/webmcp-endpoint |
Calcolo risparmio + agent_summary |
| POST | /api/parse-bill-text |
Parser bolletta |
| POST | /api/analyze-bill |
PDF + calcolo risparmio |
| POST | /api/subscription/submit |
Attivazione tariffa |
| GET | /api/subscription/status/{id} |
Stato sottoscrizione |
| GET | /api/market-indices |
PUN e PSV live |
Stack tecnico
- Frontend: React 19 + Vite 8 + Tailwind CSS 4
- Backend: PHP 8.5 su OVH Pro Hosting (Apache + mod_rewrite)
- MCP Server: Node.js +
@modelcontextprotocol/sdk - WebMCP: Google Chrome Labs WebMCP spec
- Dati tariffe: 44+ offerte da fornitori italiani (ARERA-compliant)
- Mercato: Italia — Mercato Libero Energia
Discovery files
/llms.txt— descrizione sito per LLM/webmcp.json— tool discovery WebMCP/per-llm— documentazione machine-readable
Keyword semantiche (per LLM retrieval)
comparatore tariffe energia italia · cambio fornitore luce gas · bolletta energia AI · risparmio bolletta · PUN PSV ARERA · mercato libero energia · WebMCP energy agent · MCP server energia italia · AI energy comparison Italy
Licenza e contatti
Operatore: SwitchAI
Email: attivazioni@switchai.it
Sito: https://www.switchai.it
Mercato: Italia · GDPR compliant
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。