# PG&E Data Portals MCP for AI Agents AI Agent Connect

> PG&E Data Portals MCP. Connect your AI agent to PG&E's public energy datasets to query electricity usage, EV adoption trends, solar production, and grid infrastructure data through natural conversation. It turns complex energy statistics into actionable insights without manual data scraping.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_koKqgz30wiNhUEvNw5dr4TMuBeyBg7bpLhFFQZsI/ai-agent-connect
- **Tags:** energy-usage, ev-adoption, grid-data, public-datasets, data-query

## Description

PG&E Data Portals MCP lets you query public energy datasets through natural conversation. Instead of hunting through complex government portals or downloading messy spreadsheets, you can just ask your AI agent to pull the specific stats you need. If you're looking for EV adoption trends in a specific zip code or want to see how much electricity a commercial district used last year, this Connector does the heavy lifting. It searches the catalog, applies your filters, and returns the raw data for you to analyze. You can check grid capacity, solar production, or energy efficiency program results without ever leaving your chat window. It's a huge time saver for anyone who needs to turn raw energy data into actual insights. By adding this to your setup on Vinkius, you're giving your agent a direct line to real-world energy statistics. You can move from asking how do I get this to what does this mean in a single step. This is ideal for research, planning, and identifying market opportunities in the clean tech space. You can get a clear picture of regional energy consumption or find the exact data needed for a feasibility study without the usual friction of manual data collection.

## Tools

### query_grid_infrastructure
Get data on grid capacity and reliability metrics for specific geographic areas. Use this to identify where infrastructure upgrades are needed.

### list_all_datasets
View every dataset available in the PG&E catalog. This helps you see the full scope of energy, EV, and solar data available.

### query_dataset
Retrieve specific records from any dataset using filters like zip code or year. This is your primary tool for pulling raw data.

### search_datasets
Discover available energy datasets by keyword. Use this to find the right data source before you run a query.

### query_solar_generation
Analyze solar adoption and production trends by region and year. This is great for assessing local solar capacity.

### query_by_date_range
Filter any dataset by specific start and end dates. This is perfect for creating year-over-year trend comparisons.

### query_ev_adoption
Analyze electric vehicle registration trends by zip code and year. This helps identify high-growth areas for charging stations.

### get_dataset_schema
See the available columns and data types for a specific dataset. Use this to understand what you can query before you start.

### query_energy_efficiency
Get data on energy savings and program participation for local initiatives. This helps you analyze the ROI of efficiency projects.

### query_energy_usage
Pull electricity and gas consumption data by zip code and customer segment. Use this to see how different regions use power.

## Prompt Examples

**Prompt:** 
```
What are the top 5 zip codes for EV adoption in 2024?
```

**Response:** 
```
Based on the PG&E Data Portals, here are the top 5 zip codes for EV adoption in 2024:

| Zip Code | Registered EVs | % of Households |
| :--- | :--- | :--- |
| 94301 | 12,450 | 38% |
| 94040 | 9,870 | 32% |
| 95054 | 7,650 | 28% |
| 94102 | 3,280 | 15% |
| 94103 | 2,900 | 12% |

**Key Insight:** The highest adoption is concentrated in the Peninsula and Silicon Valley areas.
```

**Prompt:** 
```
Show me solar production trends for the county of Sonoma.
```

**Response:** 
```
Here is the summary for solar generation in the Sonoma region:

* **Recent Growth:** Solar adoption has seen a steady increase over the last three years.
* **Production Trends:** Significant production peaks are noted during peak daylight hours in the summer months.
* **Capacity:** The region shows high capacity for residential net energy metering (NEM).

Would you like to see specific production numbers for a particular year?
```

**Prompt:** 
```
How much electricity did residential customers in 94102 use in Jan 2024?
```

**Response:** 
```
In January 2024, the electricity usage for ZIP code 94102 (San Francisco - Mission District) was as follows:

* **Residential:** 2,450,000 kWh
* **Commercial:** 3,120,000 kWh

**Note:** Residential usage peaked during the winter heating season, showing a significant increase compared to the previous month.
```

## Capabilities

### Search energy datasets
Find specific datasets in the PG&E catalog to see what data is available.

### Query electricity usage
Get electricity and gas consumption data by zip code and date range.

### Track EV adoption
Analyze electric vehicle registration trends by geographic area and year.

### Analyze solar production
Retrieve solar energy production and net energy metering statistics by region.

### Check grid capacity
Access distribution circuit, substation, and grid capacity data for planning.

### Audit efficiency programs
Get participation and savings data for various energy efficiency initiatives.

## Use Cases

### EV Charging Site Selection
A clean tech scout uses query_ev_adoption to find zip codes with high EV growth but low current infrastructure to identify prime locations.

### Grid Expansion Planning
An urban planner uses query_grid_infrastructure to see if a neighborhood can handle new commercial power demands before breaking ground.

### Solar Market Research
A solar installer uses query_solar_generation to see production trends in specific counties to target their sales efforts.

### Demand Forecasting
An analyst uses query_energy_usage to see how residential demand spikes during specific winter months to help with load balancing.

## Benefits

- Stop manual scraping: Use search_datasets to find the exact energy data you need in seconds instead of clicking through dozens of web pages.
- Spot EV trends faster: Use query_ev_adoption to identify high-growth areas for charging stations without downloading huge CSV files.
- Analyze grid health: Get immediate insights into substation capacity and distribution circuits using query_grid_infrastructure.
- Evaluate ROI: Use query_energy_efficiency to see how much money and energy local programs actually save for residents.
- Time-series analysis: Apply query_by_date_range to any dataset to see how energy consumption has changed over years or decades.

## How It Works

The bottom line is you get instant access to PG&E's public energy data without the manual search.

1. Subscribe to the Connector and enter your API key in your client settings.
2. Ask your AI agent to find a specific dataset or query a region for energy stats.
3. Get a structured summary of consumption trends, solar production, or grid data instantly.

## Frequently Asked Questions

**Can the PG&E Data Portals MCP find EV trends?**
Yes, it pulls electric vehicle registration data by zip code and year, making it easy to see where adoption is growing fastest.

**Is the PG&E Data Portals MCP good for urban planning?**
It is excellent for planning because it provides access to grid capacity, substation data, and regional energy consumption trends.

**Does the PG&E Data Portals MCP provide real-time billing?**
No, this Connector is for public energy datasets. It does not have access to private customer billing or individual account information.

**Can I use the PG&E Data Portals MCP for solar research?**
Yes, it can query solar generation statistics, production trends, and net energy metering data for specific regions.

**Can I filter data by date with the PG&E Data Portals MCP?**
Yes, you can specify start and end dates for any dataset to perform time-series analysis and year-over-year comparisons.

**What kind of energy efficiency data does the PG&E Data Portals MCP have?**
It includes data on energy efficiency programs, including participation rates, energy savings achieved, and investment amounts.

**What types of datasets are available?**
PG&E Data Portals offers: energy usage (electricity and gas by ZIP code), EV adoption (vehicle registrations), solar generation (capacity and production), energy efficiency programs (participation and savings), and grid infrastructure (distribution circuits, substations). Use search_datasets to discover all available datasets.

**Is authentication required?**
No, the PG&E Data Portals API is publicly accessible without authentication. An API key is optional and only needed if you want higher rate limits for production use. Most queries work out of the box without any credentials.

**Can I filter data by specific ZIP codes and date ranges?**
Yes! Most tools support zip_code, start_date, and end_date parameters. For example, query_energy_usage accepts ZIP code and date range to return electricity consumption for that specific area and period. Use query_by_date_range for any dataset with custom date filtering.