fuel_economy_mpg

Pack: nhtsa · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/fuel_economy_mpg for the schema, then POST the same URL with its arguments for the data.

EPA city/highway/combined MPG and CO2 for a model year + make + model.

Tool description as the model sees it

EPA fuel-economy ratings (city/highway/combined MPG, CO2 g/mile, fuel type) for a specific model year + make + model, from fueleconomy.gov (DOE/EPA), proxied live. Pass the model string exactly as fueleconomy.gov lists it (e.g. “Camry”, “F-150 2WD”, “Model 3”) — if unsure, call fuel_economy_models first to see valid model strings for that year+make. A model year/make/model can have several engine/transmission/drivetrain VARIANTS; this returns up to 5, each with its own MPG. Unknown make/model/year combos are refused with a clear error (never an empty success) and, when the make or model itself is not recognized for that year, list a few valid options.

Parameters

NameTypeRequiredDescription
yearnumberyesModel year, e.g. 2024.
makestringyesVehicle make, e.g. “Toyota”.
modelstringyesVehicle model exactly as fueleconomy.gov lists it, e.g. “Camry”. Call fuel_economy_models to see valid strings.

Example call

Arguments

{
  "year": 2024,
  "make": "Toyota",
  "model": "Camry"
}

curl

curl -X POST https://gateway.pipeworx.io/nhtsa/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fuel_economy_mpg","arguments":{"year":2024,"make":"Toyota","model":"Camry"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('fuel_economy_mpg', {
  "year": 2024,
  "make": "Toyota",
  "model": "Camry"
});

More examples

{
  "year": 2024,
  "make": "Ford",
  "model": "F150 Pickup 2WD"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the nhtsa pack
{
  "mcpServers": {
    "nhtsa": {
      "url": "https://gateway.pipeworx.io/nhtsa/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 13, 2026