Spanish Municipality Ids for Fuel Price Lookups (MITERD)
miteco/municipality-ids
Lists the municipalities of one Spanish province with the ministry's own municipality id, as used by miteco/stations-by-municipality (these ids are not the INE codes). Returns the municipality name, province name and autonomous community with their ids. Province ids are the INE codes 01 to 52 (28 Madrid, 08 Barcelona, 41 Sevilla, 46 Valencia). Province lists run to a few tens of KB at most. Fuente: MITERD Geoportal de Gasolineras, CC BY 4.0; served by Eden Engine, not an official MITERD product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.
Data source
Geoportal de Gasolineras, Ministerio para la Transicion Ecologica (MITERD)
Fuente: Geoportal de Gasolineras, Ministerio para la Transicion Ecologica y el Reto Demografico (MITERD), CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Passed through unaltered; prices refresh every half hour. Served by Eden Engine; not an official MITERD product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "miteco/municipality-ids" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "miteco/municipality-ids" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "miteco/municipality-ids", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "miteco/municipality-ids", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 20, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"province_id"
],
"properties": {
"province_id": {
"type": "string",
"pattern": "^(0[1-9]|[1-4][0-9]|5[0-2])$",
"description": "Two digit province id, the INE province code: 28 Madrid, 08 Barcelona, 41 Sevilla, 46 Valencia, 51 Ceuta, 52 Melilla. Range 01 to 52."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"CCAA": {
"type": "string",
"description": "Autonomous community name."
},
"IDCCAA": {
"type": "string",
"description": "Autonomous community id."
},
"Municipio": {
"type": "string",
"description": "Municipality name."
},
"Provincia": {
"type": "string",
"description": "Province name."
},
"IDMunicipio": {
"type": "string",
"description": "The ministry's municipality id; pass it to miteco/stations-by-municipality."
},
"IDProvincia": {
"type": "string",
"description": "Province id."
}
},
"additionalProperties": true
},
"description": "One entry per municipality."
}
},
"additionalProperties": true
}