Vinkius
PG&E Public Datasets

PG&E Public Datasets MCP for AI. Model energy costs across regions and sectors.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

PG&E Public Datasets MCP on Cursor AI Code EditorPG&E Public Datasets MCP on Claude Desktop AppPG&E Public Datasets MCP on OpenAI Agents SDKPG&E Public Datasets MCP on Visual Studio CodePG&E Public Datasets MCP on GitHub Copilot AI AgentPG&E Public Datasets MCP on Google Gemini AIPG&E Public Datasets MCP on Lovable AI DevelopmentPG&E Public Datasets MCP on Mistral AI AgentsPG&E Public Datasets MCP on Amazon AWS Bedrock

Connect to your AI in seconds.

PG&E Public Datasets provides direct access to PG&E public energy data via MCP. You can pull historical monthly usage, analyze billing costs by ZIP code and customer type, compare regional electricity and gas consumption side-by-side, and track efficiency program savings—all without needing an API key.

What your AI can do

Get billing data

Retrieves average utility bills and cost metrics based on specific ZIP codes or customer segments.

Get usage by customer type

Shows total electric or gas consumption broken down by the major customer types (Residential, Commercial, Industrial, Agricultural).

Compare regions

Compares usage, customer counts, and average bills across several specified ZIP codes in a single output.

+ 5 more capabilities included
Compare usage across multiple ZIP codes

Analyze regional differences in electricity use, gas consumption, customer counts, and average utility bills by comparing several locations simultaneously.

Track billing costs by location and segment

Determine energy affordability and compare average utility costs across different ZIP codes or specific customer types (e.g., Residential vs. Industrial).

Analyze usage patterns over time

Retrieve detailed monthly consumption data for both electric and gas, broken down by specific ZIP code and customer segment.

Study long-term energy demand shifts

Establish multi-year trends in overall electricity or gas usage to identify long-term growth rates or seasonal changes.

Measure efficiency program impact

Calculate the cost-effectiveness and ROI of various energy efficiency programs based on recorded savings data.

Included with Plan

Waiting for input…

AI Agent

PG&E Public Datasets: 8 Tools for Energy Data Analysis

Use these eight tools to pull specific metrics on electricity usage, gas consumption, billing costs, and efficiency savings from PG&E public datasets.

Make your AI actually useful.

Add this MCP to Claude, Cursor, or Windsurf and your AI stops guessing. It gets real tools to look things up, take action, and handle the stuff you keep doing by hand.

Start using PG&E Public Datasets on Vinkius

Get Billing Data

Retrieves average utility bills and cost metrics based on specific ZIP codes or customer segments.

Get Usage By Customer Type

Shows total electric or gas consumption broken down by the major customer types...

Compare Regions

Compares usage, customer counts, and average bills across several specified ZIP...

Get Electricity By Zip

Gets electricity consumption data for a list of ZIP codes, broken down by month or...

Get Gas By Zip

Retrieves natural gas consumption data for specific ZIP codes, monthly or annually.

Get Monthly Usage

Outputs detailed electric (kWh) and gas (therms) usage by ZIP code, month, year, and customer segment.

Get Savings Data

Provides data on energy efficiency program savings, including counts, saved amounts, and associated costs.

Get Yearly Trends

Tracks how overall electricity and gas usage has changed over multiple years to spot...

Security and governance baked right in.

Pick your AI client below to get set up. Just create a Vinkius account, subscribe, and you're instantly up and running. We handle the entire backend infrastructure, delivering out-of-the-box support for HTTPS Streamable, SSE, and OAuth2—zero messy routing required.

Claude AI

Claude AI

1

Open Claude Settings

Go to claude.ai, click your profile icon, then navigate to Customize → Connectors.

2

Add Custom Connector

Click the "+" button and select Add custom connector. Paste your Vinkius endpoint URL:

https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp

Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. For OAuth-protected servers, expand Advanced settings to add credentials.

3

Start a conversation

Open a new chat. The PG&E Public Datasets integration is available immediately — no restart needed.

Choose How to Get Started

Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.

Build Your Own

Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.

  • Import from OpenAPI, Swagger, or YAML specs
  • Create Agent Skills with progressive disclosure
  • Deploy to edge with MCPFusion framework
  • Built in DLP, auth, and compliance on every call
  • Real time usage dashboard and cost metering
  • Publish to catalog or keep private
Start building

Make Your AI Do More

Start with PG&E Public Datasets, then connect any of our 5,100+ other servers whenever your AI needs more. One click, no limits.

  • Use this MCP plus 5,100+ others, all in one place
  • Add new capabilities to your AI anytime you want
  • Every connection is secured and compliant automatically
  • Track usage and costs across all your servers
  • Works with Claude, ChatGPT, Cursor, and more
  • New servers added to the catalog every week
PG&E Public Datasets MCP server cover

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by PG&E Public Datasets. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

VINKIUS INFRASTRUCTURE

Cloud Hosted

Managed infra

V8 Isolated

Sandboxed per request

Zero-Trust Proxy

No stored credentials

DLP Enforced

Policy on every call

GDPR Compliant

EU data residency

Token Compression

~60% cost reduction

Your data is protected. See how we built it.

Works with Claude, ChatGPT, Cursor, and more

The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.

This connection provides 8 powerful capabilities that interface natively with Claude, ChatGPT, Cursor, and other compatible AI platforms. No middleware. No custom integration required.

Collecting regional energy usage data used to take hours of cross-referencing.

Before this server, you’d have to jump between utility websites or run multiple API calls just to compare three adjacent ZIP codes. You'd pull the electric numbers from one place and the gas bills from another—it was manual copy/pasting across spreadsheets, wasting time and introducing data errors.

Now, your agent runs `compare_regions`. It pulls electricity usage, customer counts, *and* average billing costs for all three zones in a single query. You get a clean, side-by-side report ready for the client.

The `get_yearly_trends` tool shows energy demand shifts.

Manually tracking multi-year consumption requires maintaining separate spreadsheets for each year and type (electric/gas). If you miss a single year or use the wrong metric, your whole trend analysis falls apart. It's tedious bookkeeping.

With `get_yearly_trends`, you just ask for it. The tool handles the longitudinal view, giving you consistent data showing how energy demand has shifted over 5+ years—whether that's due to weather patterns or industrial decline.

What your AI can actually do with this

The PG&E Public Datasets MCP Server - Energy Analysis gives your AI client direct access to PG&E's public energy metrics. You don't need an API key or complex setup; you just connect, and your agent calls the tools to pull structured data.

When you wanna look at regional differences, use compare_regions. This tool lets you compare usage figures, customer counts, and average bills across several specified ZIP codes in a single output. If you're tracking electricity consumption for multiple spots, get_electricity_by_zip pulls that data for any list of ZIP codes, breaking it down by month or year.

For natural gas, get_gas_by_zip does the same thing, retrieving consumption data for specific ZIP codes, whether you need monthly numbers or annual totals.

To analyze what's happening over time, you can run two tools: get_monthly_usage gives you detailed electric (kWh) and gas (therms) usage by a specific ZIP code, month, year, and customer segment. If you wanna spot long-term patterns instead of just monthly snapshots, get_yearly_trends tracks how overall electricity or gas usage has shifted over multiple years.

This lets you see if demand is growing steady or spiking seasonally.

For billing and cost analysis, start with get_billing_data. It retrieves average utility bills and cost metrics based on specific ZIP codes or different customer segments. You can also pinpoint consumption by type—get_usage_by_customer_type shows total electric or gas usage broken down for Residential, Commercial, Industrial, and Agricultural sectors. If you need to track what people are spending on energy efficiency, get_savings_data provides data on those program savings, including counts of participation, the saved amounts, and associated costs.

Grouping these tools together lets you build a full picture:

  • You can run get_monthly_usage to get granular details for every ZIP code. Then, use compare_regions to aggregate those findings across multiple locations. You'll see the electric (kWh) and gas (therms) consumption side-by-side, along with customer counts and average bills.
  • If you want to compare affordability, you can check out get_billing_data for a specific segment—say, Industrial users in ZIP 90210—and then use get_usage_by_customer_type to see if that high cost corresponds with actual usage volume.
  • To study the impact of government or utility programs, you'll pair get_savings_data (showing saved amounts) with a regional comparison run using compare_regions. This lets you measure which areas got the best return on investment.

When your agent runs these tools, it gives you structured energy metrics that let you determine energy affordability and compare costs across different ZIP codes or specific customer types. You're always working with raw numbers—the full electric (kWh) and gas (therms) usage by get_usage_by_customer_type for major sectors, the historical data from get_yearly_trends, and the immediate comparison capability of compare_regions.

It’s all public data, straight to your client.

Built · Hosted · Managed by Vinkius PG&E Public Datasets MCP Server - Energy Analysis
Server ID 019d75f2-0aed-73e3-bdbb-aea10131272e
Vinkius Inspector
Compliance Grade A+
Score 100/100
Vinkius Inspector Badge — Score 100/100

Questions you might have

How do I use `get_monthly_usage`? +

You pass the desired ZIP code, month, year, and customer segment. The tool returns kWh (for electric) or therms (for gas) consumed for that specific combination.

What is the best way to compare different regions? +

Use compare_regions. Give it a comma-separated list of ZIP codes, and it outputs usage figures, customer counts, and average bills all in one go.

Can I analyze efficiency program returns? +

Yes, run the get_savings_data tool. It gives you metrics on program participation, kWh/therms saved, and costs so you can calculate true ROI.

`get_usage_by_customer_type` is better than just looking at total data? +

Absolutely. get_usage_by_customer_type breaks the load down by Residential, Commercial, Industrial, and Agricultural sectors. This tells you who is using the power, which is critical for policy analysis.

Does running `get_billing_data` require an API key or authentication? +

No, the data is entirely public and requires no keys. You can run any tool without setting up credentials.

When I use `get_electricity_by_zip`, am I limited to a single ZIP code for comparison? +

No, you pass comma-separated lists of ZIP codes in the request. This lets your agent compare multiple areas simultaneously.

How do I use `get_monthly_usage` to compare electric and gas usage across different customer types? +

You must call the tool twice: once for 'electric' data type, and again for 'gas'. Then you combine the results in your agent or script.

What kind of year filters can I use with `get_yearly_trends`? +

The tool accepts a specific YYYY format for filtering. This lets you pinpoint consumption data to exact calendar years for analysis.

Is any authentication required? +

No! All PG&E Public Datasets are completely free and accessible without any API key or authentication. Just subscribe and start querying energy data immediately.

What customer segments are available? +

PG&E provides data for four customer segments: Residential (homes), Commercial (businesses), Industrial (manufacturing), and Agricultural (farming). Each segment has different consumption patterns and billing structures.

Can I compare multiple ZIP codes? +

Yes! Use the compare_regions tool with comma-separated ZIP codes (e.g., "94102,94103,94104"). It returns side-by-side usage data, customer counts, and average bills for each region, making it easy to identify geographic differences in energy consumption.

Built & Managed by Vinkius 30s setup 8 tools

We've already built the connector for PG&E Public Datasets. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 8 tools are live and waiting. You're up and running in seconds.

Vinkius runs on Claude Claude
Vinkius runs on ChatGPT ChatGPT
Vinkius runs on Cursor Cursor
Vinkius runs on Gemini Gemini
Vinkius runs on Windsurf Windsurf
Vinkius runs on VS Code VS Code
Vinkius runs on JetBrains JetBrains
Vinkius runs on Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.