AI agent for Italian energy tariff comparison. Analyzes utility bills, compares 44+ offers (electricity & gas), and activates the best tariff. WebMCP + MCP Server compatible. switchai.it
git clone https://github.com/US1929/switchai{
"mcpServers": {
"switchai": {
"command": "node",
"args": ["/path/to/switchai/dist/index.js"]
}
}
}MCP Servers overview
# SwitchAI — AI Agent per Tariffe Energia Italia
> **Sito**: [switchai.it](https://www.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.
```json
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).
```json
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.
```json
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)
```json
{
"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`](https://www.switchai.it/llms.txt) — descrizione sito per LLM
- [`/webmcp.json`](https://www.switchai.it/webmcp.json) — tool discovery WebMCP
- [`/per-llm`](https://www.switchai.it/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
What people ask about switchai
What is US1929/switchai?
+
US1929/switchai is mcp servers for the Claude AI ecosystem. AI agent for Italian energy tariff comparison. Analyzes utility bills, compares 44+ offers (electricity & gas), and activates the best tariff. WebMCP + MCP Server compatible. switchai.it It has 0 GitHub stars and was last updated today.
How do I install switchai?
+
You can install switchai by cloning the repository (https://github.com/US1929/switchai) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is US1929/switchai safe to use?
+
US1929/switchai has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains US1929/switchai?
+
US1929/switchai is maintained by US1929. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to switchai?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy switchai to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/us1929-switchai)<a href="https://claudewave.com/repo/us1929-switchai"><img src="https://claudewave.com/api/badge/us1929-switchai" alt="Featured on ClaudeWave: US1929/switchai" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。