Use ChargingNear.me from AWS Marketplace
ChargingNear.me answers questions about public electric vehicle (EV) charging stations in the United States: the closest chargers to a place, chargers along a drive, one station’s details and charging numbers by city, state and highway. Your AWS Marketplace subscription comes with an API key for the MCP server and the REST API.
Available tools
The MCP server at https://chargingnear.me/api/mcp (Streamable HTTP) has 12 read-only tools:
| Tool | What it returns |
|---|---|
search_stations | Stations in a city or state, filtered by network, plug, speed or power. |
get_nearest_stations | The closest stations to a city, address, ZIP code, business or point, filtered by plug, network, speed or power, each with its page link. |
get_station_details | One station's plugs, power, network, hours and pricing. |
get_city_charging_stats | A city's charging stations, DC fast and Level 2 counts, top networks and its page link. |
get_state_charging_stats | A state's charging stations, DC fast and Level 2 counts, cities with charging, top networks and its page link. |
get_catalog_totals | Nationwide totals: charging locations, ports, DC fast ports, networks and states. |
find_stations_on_route | Stations along a drive from one place to another, with miles from the start, plugs, network and page link. |
get_charging_gaps | Highway stretches over 50 miles with no fast charger within 5 miles of the highway, measured in a straight line, or with no fast charger within 1 mile of the highway (the federal NEVI siting distance) and the chargers 1 to 5 miles off. |
get_corridor_chargers | Every fast charger on a Colorado corridor, in driving order with mile points. |
get_nevi_status | Which fast-charging stations meet the federal NEVI minimums, and why others don't. |
find_truck_charging | Tesla Megacharger sites and other networks' heavy-duty truck charging, near a place, in a state or along a drive, with each site's status and sources. |
find_supercharger_pipeline | Tesla Superchargers coming soon and newly opened |
None of them changes anything. The same data is available as REST endpoints, described in the OpenAPI document.
Prerequisites
- An active ChargingNear.me subscription in AWS Marketplace.
- Your API key (below).
- An MCP client that supports remote servers over Streamable HTTP, such as Cline, or Claude Desktop with Node.js 18 or later for
mcp-remote.
Authentication
- In AWS Marketplace, open your ChargingNear.me subscription and choose Set up your account.
- AWS sends you to chargingnear.me. Enter your work email (and company, if you like) and choose Create my API key.
- Copy the key. It starts with
cnm_and is shown only once; we never email it.
Send it on every request as Authorization: Bearer YOUR_API_KEY. One key works for both the MCP server and the REST API.
To rotate or revoke the key, sign in at chargingnear.me/me/api-keys with the email you entered. Lost the key? Choose Set up your account in AWS Marketplace again: you get a new key and the old one stops working. When the subscription ends, the key stops working.
Connect your MCP client
Claude Desktop
Add this to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude Desktop:
{
"mcpServers": {
"chargingnearme": {
"command": "npx",
"args": [
"mcp-remote",
"https://chargingnear.me/api/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer YOUR_API_KEY"
}
}
}
}
Cline
Open MCP Servers → Configure MCP Servers and add this to cline_mcp_settings.json:
{
"mcpServers": {
"chargingnearme": {
"type": "streamableHttp",
"url": "https://chargingnear.me/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
},
"disabled": false,
"autoApprove": [],
"timeout": 60
}
}
}
Other MCP clients
Use the server URL https://chargingnear.me/api/mcp, transport Streamable HTTP, and the header Authorization: Bearer YOUR_API_KEY.
REST API
Base URL https://chargingnear.me/api. For example, the five stations nearest downtown Denver:
curl -H "Authorization: Bearer YOUR_API_KEY" \
"https://chargingnear.me/api/v1/stations/nearest?lat=39.7392&lng=-104.9903&limit=5"
Then ask your assistant something like “Where are the closest DC fast chargers to Union Station in Denver?”
Rate limits
- 300 calls a day per key. MCP tool calls and REST requests count together; listing tools and starting a session don’t count. The day resets at 00:00 UTC.
- 60 calls a minute, counted per IP address.
- REST responses carry
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset.GET https://chargingnear.me/api/v1/me/usagewith your key shows today’s count.
Error codes
| Where | Status | Code | What to do |
|---|---|---|---|
| REST | 401 | invalid_api_key | The key isn’t recognized: check for a typo, or use the newest key after a rotation. |
| REST | 403 | api_key_disabled | The key was revoked or the AWS subscription ended. Choose Set up your account in AWS Marketplace for a new key. |
| REST | 429 | rate_limit_exceeded | Over the daily or per-minute limit. Wait the Retry-After seconds (also in retry_after_seconds). |
| REST | 400 | invalid_request | A parameter is out of range (missing_params when a required one is absent); param names it. |
| REST | 503 | api_key_validation_unavailable | We couldn’t check the key just now. Retry after Retry-After. |
| MCP | 200, isError | rate_limit_exceeded | A tool result, so your assistant can read it. Retry after retry_after_seconds. |
| MCP | 200, isError | invalid_arguments | An argument the tool can’t use. The result names the parameter and gives the fix with an example call. |
| MCP | JSON-RPC | -32602 | Unknown tool; the message lists the tools. |
| MCP | header | X-API-Key-Status | invalid or disabled: the key wasn’t used, and the call ran under the limits for callers without a key. |
Learn more
- MCP server overview with example questions for every tool
- OpenAPI document for the REST API
- API terms and privacy policy
- Support: api@chargingnear.me