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:

ToolWhat it returns
search_stationsStations in a city or state, filtered by network, plug, speed or power.
get_nearest_stationsThe 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_detailsOne station's plugs, power, network, hours and pricing.
get_city_charging_statsA city's charging stations, DC fast and Level 2 counts, top networks and its page link.
get_state_charging_statsA state's charging stations, DC fast and Level 2 counts, cities with charging, top networks and its page link.
get_catalog_totalsNationwide totals: charging locations, ports, DC fast ports, networks and states.
find_stations_on_routeStations along a drive from one place to another, with miles from the start, plugs, network and page link.
get_charging_gapsHighway 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_chargersEvery fast charger on a Colorado corridor, in driving order with mile points.
get_nevi_statusWhich fast-charging stations meet the federal NEVI minimums, and why others don't.
find_truck_chargingTesla 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_pipelineTesla 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

  1. In AWS Marketplace, open your ChargingNear.me subscription and choose Set up your account.
  2. AWS sends you to chargingnear.me. Enter your work email (and company, if you like) and choose Create my API key.
  3. 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-Remaining and X-RateLimit-Reset. GET https://chargingnear.me/api/v1/me/usage with your key shows today’s count.

Error codes

WhereStatusCodeWhat to do
REST401invalid_api_keyThe key isn’t recognized: check for a typo, or use the newest key after a rotation.
REST403api_key_disabledThe key was revoked or the AWS subscription ended. Choose Set up your account in AWS Marketplace for a new key.
REST429rate_limit_exceededOver the daily or per-minute limit. Wait the Retry-After seconds (also in retry_after_seconds).
REST400invalid_requestA parameter is out of range (missing_params when a required one is absent); param names it.
REST503api_key_validation_unavailableWe couldn’t check the key just now. Retry after Retry-After.
MCP200, isErrorrate_limit_exceededA tool result, so your assistant can read it. Retry after retry_after_seconds.
MCP200, isErrorinvalid_argumentsAn argument the tool can’t use. The result names the parameter and gives the fix with an example call.
MCPJSON-RPC-32602Unknown tool; the message lists the tools.
MCPheaderX-API-Key-Statusinvalid or disabled: the key wasn’t used, and the call ran under the limits for callers without a key.

Learn more