Skip to main content
Glama
SwitchAI

SwitchAI

by US1929

SwitchAI — 意大利能源费率AI智能体

网站: switchai.it · 市场: 意大利 · 技术栈: React 19 + PHP 8.5 + WebMCP + MCP Server

Glama MCP Server

SwitchAI 是一个原生AI智能体,用于比较意大利自由市场中的能源费率。用户提供其账单,AI分析数据,比较 5,600+ 个ARERA 的电力和燃气报价,并提供直接链接到供应商网站以进行激活。


工作原理

用户 → AI智能体 (Claude, Gemini, ChatGPT) → SwitchAI 工具 (WebMCP 或 MCP Server) → PHP API → 5,600+ 实时报价 → 直接链接到供应商


Related MCP server: Elecz MCP Server

AI智能体的三种访问渠道

渠道

协议

要求

WebMCP

navigator.modelContext.registerTool()

Chrome 146+

MCP Server

@modelcontextprotocol/sdk Node.js

Claude Desktop 或 MCP 客户端

REST API

JSON/HTTPS

任何 HTTP 客户端


可用工具

calculate_energy_savings

比较费率并计算节省。返回前3个报价 + 意大利语的 agent_summary。

POST /api/webmcp-endpoint
{
  "commodity": "LUCE",
  "yearly_consumption_kwh": 3000,
  "zone": "NORD",
  "current_annual_spend": 900
}

parse_energy_bill

从意大利账单文本中提取结构化数据。

POST /api/parse-bill-text
{
  "bill_text": "...testo bolletta..."
}

get_available_offers

完整报价列表:3,196 电力 + 2,411 燃气。

GET /api/tariffe/luce
GET /api/tariffe/gas

get_market_indices

当前的 PUN(电力)和 PSV(燃气)。

GET /api/market-indices

激活

激活通过直接链接(affiliate_url 或 url_offerta)到供应商网站进行。SwitchAI 不收集用于激活的个人数据。


MCP Server 配置(Claude Desktop)

{
  "mcpServers": {
    "switchai": {
      "command": "node",
      "args": ["/percorso/assoluto/mcp-server/index.js"],
      "env": {
        "SWITCHAI_API_URL": "https://www.switchai.it/api"
      }
    }
  }
}

AI智能体的最佳流程

1. parse_energy_bill(bill_text) → consumi, spesa, zona
2. calculate_energy_savings(commodity, consumi, zona, spesa) → offerte + affiliate_url
3. Utente clicca il link → attivazione sul sito del fornitore

API 端点

Method

Endpoint

描述

GET

/api/health

健康检查

GET

/api/tariffe/luce

3,196 个电力报价

GET

/api/tariffe/gas

2,411 个燃气报价

POST

/api/webmcp-endpoint

节省计算 + agent_summary

POST

/api/parse-bill-text

账单解析器

POST

/api/analyze

完整的 V2 分析

GET

/api/market-indices

实时 PUN 和 PSV

GET

/api/fornitori

供应商列表


技术栈

  • Frontend: React 19 + Vite 8 + Tailwind CSS 4

  • Backend: PHP 8.5 在 OVH Pro Hosting 上(Apache + mod_rewrite)

  • MCP Server: Node.js + @modelcontextprotocol/sdk

  • WebMCP: Google Chrome Labs WebMCP spec

  • 费率数据: 5,600+ 个 ARERA 报价(每日夜间同步)

  • 市场: 意大利 — 自由能源市场


发现文件


语义关键词(用于LLM检索)

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


许可证和联系方式

电子邮件: info@switchai.it
网站: https://www.switchai.it
市场: 意大利 · 符合GDPR


Available Tools

7 tools
calculate_energy_savingsA

Confronta le tariffe Luce o Gas e calcola il risparmio annuo. Restituisce le 3 migliori offerte con link di attivazione su switchai.it (sito esterno). FLUSSO: (1) Estrai nome, cognome, CF, email, telefono, indirizzo, consumi e spesa dalla bolletta. (2) Passa i dati numerici (consumi, spesa, zona) + TUTTI i dati personali che hai estratto a questo tool. (3) Il link 'Attiva' apre switchai.it in una nuova scheda con il form PRE-COMPILATO. (4) AVVISA SEMPRE l'utente che: (a) il link apre un sito esterno (switchai.it), (b) dovrà verificare i dati e cliccare Invia, (c) riceverà una email di conferma e dovrà cliccarla per completare — SOLO dopo la conferma i dati vengono inoltrati al fornitore. (5) Il GDPR double opt-in è OBBLIGATORIO: NON dire 'ho attivato' o 'tutto fatto'. Di' 'il form è precompilato, controlla i dati e invia'. (6) NON attivare mai senza che l'utente abbia letto e accettato esplicitamente.

Inputs: commodity (required), yearly_consumption_kwh, yearly_consumption_smc, zone, +16 more.

get_available_offersB

Recupera tutte le offerte disponibili per Luce o Gas. Ritorna nome fornitore, prezzo, tipo (fisso/variabile), costo fisso mensile.

Inputs: commodity (required).

get_market_indicesA

Recupera gli indici di mercato attuali PUN (Luce) e PSV (Gas).

Inputs: no named parameters.

get_subscription_form_schemaA

Recupera lo schema del form di sottoscrizione: campi richiesti, enum validi, struttura a step. Utile per sapere quali dati servono prima di chiamare submit_subscription.

Inputs: no named parameters.

get_subscription_statusB

Verifica lo stato di una richiesta di sottoscrizione già inviata.

Inputs: subscription_id (required).

parse_energy_billB

Analizza il testo di una bolletta italiana (luce o gas) ed estrae: fornitore, POD/PDR, consumo annuo, spesa annua stimata, zona tariffaria.

Inputs: bill_text (required).

submit_subscriptionB

Invia la richiesta di attivazione di una nuova tariffa energia. I dati vengono inoltrati al fornitore e ricevi un ID di sottoscrizione.

Inputs: tariff_id (required), nome (required), cognome (required), codice_fiscale (required), +16 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct action: parsing bills, retrieving offers, calculating savings, submitting subscriptions, checking status, getting form schema, and market indices. No overlap.

    Naming Consistency5/5

    All tools use consistent snake_case with clear verb+noun pattern (e.g., parse_energy_bill, get_available_offers, submit_subscription).

    Tool Count5/5

    7 tools is well-scoped for an energy switching server, covering the full user journey from bill parsing to subscription submission without excess.

    Completeness4/5

    The tool set covers the primary workflow (parse, compare, select, subscribe, check status). Minor gap: no tool for updating or canceling subscriptions, but this is a secondary concern.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI-powered analysis and prediction of household energy consumption through machine learning models, providing historical consumption breakdowns, price queries from Spanish electricity markets, and personalized energy optimization recommendations.
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Provides real-time electricity prices, cheapest hours, and contract comparison for 40+ countries, enabling AI agents to make energy-aware decisions.
      5
      -
    • A
      license
      A
      quality
      A
      maintenance
      Consulta el comparador oficial de ofertas de luz y gas de la CNMC (España) y devuelve las ofertas ordenadas por precio, con un análisis a varios años. Funciona con el QR de la factura o con código postal y consumo anual.
      3
      71 PyPI
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables MCP clients to search Italian electricity and gas offers by area, type, and seller, inspect offer details, compare estimated annual costs, and access price indices and regulated parameters.
      8
      1
      MIT