Use CapacitiMap from your own AI assistant
CapacitiMap has an MCP server. It lets an AI assistant you already use, such as Claude, put questions to our building and grid data directly. This page explains what that means, what you can ask, and how to connect.
What an MCP server is
MCP (Model Context Protocol) is an open standard for connecting AI assistants to outside data. An MCP server is the connection point: a set of tools the assistant can call when your question needs them.
In the CapacitiMap app, you ask in our chat and see the answer on our map. With the MCP server, you ask in your own assistant. It calls our tools, gets the data back, and answers in its own window, next to whatever else it can reach, such as your own files or customer lists.
The CapacitiMap app
- You ask in our chat.
- Answers come with a map.
- Best for exploring an area by eye.
- You need an account.
The MCP server
- You ask in your own AI assistant.
- Answers are text and files. There is no map.
- Best for repeat questions, and for combining our data with yours.
- You need an assistant that supports MCP, and your CapacitiMap account.
The data is the same either way. The MCP server covers finding, counting and exporting. A few things the app does, such as hourly load curves, are not available through it.
How it works
You
ask a question in your own AI assistant
Your AI assistant
picks our tools and sends the requests, signed in as you
CapacitiMap MCP server
checks who is asking and runs the tools
Your organization’s plan
decides which data the answer can include
There are four parts.
- Your AI assistant. You bring it. It reads your question, decides which of our tools to call, and writes the answer. We receive the tool requests it sends, not your conversation.
- Our tools. 16 of them, listed below. Each one does a single job, such as “find buildings” or “list the circuits in an area”. You never call a tool by name: the assistant chains them together for you.
- Your sign-in. The first time your assistant connects, it opens a CapacitiMap sign-in page. You sign in with the same account you use in the app and choose your organization. After that the assistant stays signed in as you, and you don’t sign in again for each question. An agent or script that runs with nobody there uses an API key instead (see How to connect).
- Your organization’s plan. You get exactly the data your organization’s plan covers, the same as in the app, whether you sign in or use a key. There is nothing to set up. A question about somewhere outside your plan comes back with a note saying it is outside your plan.
The server address is public and the same for everyone. On its own it gets nothing: every request must come with proof of which organization is asking, either your sign-in or an API key.
One thing to keep in mind: the numbers come from us, but the wording of the answer is your assistant’s. If a figure matters, ask the assistant to show the count or the file it got back.
What our MCP server provides
16 tools in 6 groups. Your assistant reads a fuller description of each one when it connects; this is the short version.
Buildings
Find and count buildings by place, type, size, age, heating fuel, address, or the circuit they are on.
Find the buildings that match a set of filters, or just count them.
search_buildings
Break the buildings in an area down by building type.
count_buildings_by_type
List the building types you can filter by.
list_building_types
List municipalities, with their county, so a place name is matched to the right one.
list_municipalities
Show everything we hold on one building.
get_building_details
Circuits
The distribution feeders that serve an area, and how loaded each one is.
List the circuits in an area or a utility's territory, optionally only those inside a hosting-capacity or utilization range.
list_circuits_in_area
Say which circuit each of a set of buildings is on, and how many buildings each circuit serves.
get_circuits_for_buildings
Check which circuit ids from your own list exist in our grid data.
lookup_circuits
Show one circuit in full: rating, summer and winter peak, hosting capacity, voltage, substation and utility.
get_circuit_details
Site checks
Check a portfolio of sites against a list of target circuits.
For a list of coordinates, say whether each site is on one of your target circuits.
check_points_circuit_membership
The same check, for buildings you have already found here.
check_building_circuit_membership
Programs
Where a utility pays for local solar, storage or load relief: retail tariff programs, and utility requests for grid relief (non-wires alternatives). Today this covers New York's programs.
List a program's zones: which are open, how many MW are left, the rate, and how many circuits and buildings are inside.
list_program_zones
Say which program zones specific buildings are in.
get_program_zones_for_buildings
Small solar and storage
Utility interconnection records for solar and battery systems of 50 kW or less.
Count small solar and battery systems that are installed, approved or queued, by circuit, utility, county or installer.
summarize_der_interconnections
Download those counts as a spreadsheet, one row per circuit.
export_der_interconnections
Export
Take a list of buildings away as a file.
Download the matching buildings as a spreadsheet with their full details, including owner names and mailing addresses.
export_buildings
Not available through the MCP server: hourly load curves and other time series, and the map.
Example questions
These are the starter questions from the app. They work the same way from your own assistant, for places inside your plan.
- Export a CSV of commercial buildings over 20,000 sq ft in Buffalo on retail distribution tariff circuits
- Which Syracuse circuit on a retail distribution tariff has the most small solar installed or queued?
- Which open retail distribution tariff zones in National Grid territory have the most MW left?
Questions can build on each other (“now only the ones built before 1980”), and can use your own data: give the assistant a list of site coordinates and ask which are on those circuits.
How to connect
Which way is for you?
- You ask questions yourself, in an assistant such as Claude
- Sign in with your CapacitiMap account. No key, and no developer needed. Start at step 1 below.
- You run an agent or script that works on its own, with nobody there
- Use an API key, stored in the program.
The rule is whether a person is there to sign in. A developer typing questions into Claude Code signs in; the same developer’s scheduled job uses a key.
Step 1
Add CapacitiMap to your assistant
You do this once. Pick the option that matches how you work.
Claude (the web and desktop apps)
In Claude, go to Customize → Connectors, choose Add, then Add custom connector. Name it CapacitiMap and enter the server address https://mcp.capacitimap.com/mcp. Keep the sign-in settings Claude suggests, including Use Claude’s published identity, and choose Add.
On a Team or Enterprise plan, an owner of your Claude organization adds it once for everyone. Each person then connects with their own CapacitiMap account.
Claude Code (Claude in a terminal)
Paste this into a terminal and press Enter:
claude mcp add --transport http capacitimap \
https://mcp.capacitimap.com/mcpThen start Claude Code, type /mcp, choose capacitimap and sign in.
Another assistant (not yet tested by us)
Give it the server address https://mcp.capacitimap.com/mcp. If it asks for a connection type, choose Streamable HTTP (sometimes shown as just “HTTP”). An assistant that can sign in to MCP servers should open the same CapacitiMap sign-in page. We have tested Claude and Claude Code so far. If you try another assistant, tell us how it goes; if it cannot sign in, it can use an API key instead.
Step 2
Sign in and choose your organization
In Claude, choose Connect next to CapacitiMap. Claude Code opens the page when you sign in from /mcp. Either way, a CapacitiMap sign-in page opens in your browser. Sign in with the account you use in the app, choose your organization, and allow access.
Signing in checks three things:
- You have a CapacitiMap account.
- You belong to an organization. An account with no organization cannot connect.
- Which plan your organization has. The plan decides the data you get.
You type your password on CapacitiMap’s sign-in page, so your assistant never sees it. After that you stay connected, and you don’t sign in again for each question.
Step 3
Ask something
Try a simple count for a place in your plan, such as “How many commercial buildings are in Syracuse?”. If the assistant answers with a number, you are connected.
For an agent or script
Use an API key
Using an AI assistant yourself? You don’t need a key. Add CapacitiMap to your assistant and sign in with your CapacitiMap account: see steps 1 to 3 above.
An API key lets software connect with nobody there to sign in, such as a scheduled report or your own agent. A key belongs to your organization, not to one person, and gets your organization’s plan. It is entered once, in the software’s settings, and sent as a header with every request.
An administrator of your organization creates the key in CapacitiMap. It takes about a minute:
- Sign in to CapacitiMap and select your picture or initials, top right.
- Select your organization’s name.
- Open API keys and add a new key. Name it after the program that will use it.
- Copy the key and paste it straight into that program’s settings. It is shown once.
One key is for one program. Don’t share a key among people or send it by email or chat: people sign in instead, and a second program gets its own key.
The key only works while your organization has a CapacitiMap plan. Treat it like a password. If it is lost, or someone who had it leaves, an administrator revokes it in the same place and creates a new one. A revoked key stops working within a minute.
Any MCP client (for whoever sets up your tools)
Every MCP client asks for the same three things. Most have a settings screen with a field for each.
- Server address (URL)
https://mcp.capacitimap.com/mcp- Connection type (transport)
- Streamable HTTP, sometimes shown as just “HTTP”
- Header
- Name
Authorization, valueBearer YOUR_API_KEY(the word Bearer, a space, then your key)
Claude Code (with a key instead of signing in)
claude mcp add --transport http capacitimap \
https://mcp.capacitimap.com/mcp \
--header "Authorization: Bearer YOUR_API_KEY"Your own agent (for developers)
With the Claude Agent SDK (TypeScript):
import { query } from "@anthropic-ai/claude-agent-sdk";
const result = query({
prompt: "How many commercial buildings are in Syracuse?",
options: {
mcpServers: {
capacitimap: {
type: "http",
url: "https://mcp.capacitimap.com/mcp",
headers: {
Authorization: `Bearer ${process.env.CAPACITIMAP_API_KEY}`,
},
},
},
},
});
for await (const message of result) console.log(message);With the Python MCP library:
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async with streamablehttp_client(
"https://mcp.capacitimap.com/mcp",
headers={"Authorization": f"Bearer {API_KEY}"},
) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()Data notes
Coverage. New York State. Your plan may cover a smaller area.
Utility-reported values. A circuit’s rating, its published summer and winter peaks, and its peak utilization (peak divided by rating) come from the utility. So do the tariff zone figures, such as MW remaining and rates, which come from each utility’s statements. Rates are tariff values, not revenue estimates.
Modeled values. Load factor, average utilization and a building’s own peak demand are estimates from a load model. They are not meter readings, and the tools label them as modeled. Treat them as a guide, not a measurement.
Where a utility publishes nothing. Con Edison and Orange & Rockland do not publish feeder peaks, so peak utilization is blank for their circuits. We do not estimate it.
Small solar and storage. These are the utilities’ interconnection application records for systems of 50 kW or less. They are counted by circuit, not by building, and they are not metered output. Each answer says which month the records are from.
Circuit names. A circuit is identified by its utility and its circuit id together, because two utilities can use the same id. If you give an id that two utilities share, the server asks which one you mean instead of guessing.
No load curves. The MCP server does not provide hourly load curves or any other time series.
Limits and support
Limits apply to each person who signs in, and to each API key.
- Tool calls
- 60 a minute and 5,000 a day
- Exports
- 50 a day
- Size of one export
- Up to 50,000 buildings
- Site checks
- Up to 200 coordinates or 500 buildings in one request
One question usually takes a few tool calls. If you go over a limit, nothing breaks: the assistant is told which limit it reached and how long to wait, and can carry on after that.
When access ends. When someone is removed from your organization in CapacitiMap, their assistant loses access within a minute. A change to your plan applies within a minute too. A revoked API key stops working within a minute.
Exports. An export comes back as a download link, not as rows in the chat. The link works for 30 minutes; after that, ask for the export again. We delete the file after one day. Building exports include property owner names and mailing addresses, so handle the file accordingly.
Support. Questions, a problem connecting, or a limit that is too low for what you are doing: get in touch and a person will answer.