gasolineras-mcp: Instructions file for Claude Code

CLAUDE.md

gasolineras-mcp CLAUDE.md is an instructions file for Claude Code from gregoriofraile/gasolineras-mcp. It costs 4,388 tokens per session, scanned D, original, MIT.

A set of project instructions for gasolineras-mcp, a local service that retrieves fuel prices for Spanish municipalities from a public government API. It documents the project’s technical decisions, known API details, tests, and usage status.

In plain words
What is it for?
Use it when developing, reviewing, testing, or troubleshooting gasolineras-mcp and its municipality and fuel-price lookups.
Why use it?
It gives a coding agent the project context it needs, reducing repeated investigation and helping avoid known mistakes when changing or testing the service.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is gregoriofraile/gasolineras-mcp's own configuration. It tells Claude Code how to work on gasolineras-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gasolineras-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gregoriofraile/gasolineras-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gregoriofraile/gasolineras-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/gregoriofraile/gasolineras-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gasolineras-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gregoriofraile/gasolineras-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/gregoriofraile/gasolineras-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/gregoriofraile/gasolineras-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/gregoriofraile/gasolineras-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gasolineras-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gregoriofraile/gasolineras-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/gregoriofraile/gasolineras-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,388 This file is loaded in full into every session.
When invoked 4,388 The same file — it is already loaded in full.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.04388 $0.04388
Opus 5.5 $0.01755 $0.01755
Sonnet 5.5 $0.00878 $0.00878
Haiku 4.5 $0.00439 $0.00439

Measured 1mo ago against content hash b6b9a2b1536e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

gasolineras-mcp CLAUDE.md scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

17/07/2026). Vive en Bitwarden + `~/.pypirc` (chmod 600) en rocinante —

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

2. `rm -rf dist && .venv/bin/python -m build` (dist/ limpio SIEMPRE: build

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

con `curl`, o se lo ha inventado). Parece que funciona y no funciona.
CLAUDE.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gasolineras-mcp

Servidor MCP local (stdio) en Python que da precios de carburantes de cualquier municipio de España, sobre la API pública del MINETUR (sin clave). Público objetivo: usuarios de Claude Desktop/Code que no son programadores.

Estado

v1 construida, verificada y funcionando en Claude Code (smoke test del autor superado el 16/07/2026, servidor registrado con claude mcp add -s user). Dos tools MCP, cliente sin red en tests, gasolineras_mcp/res/municipios.json generado contra la API real. Pasó una ronda de revisión adversarial (16/07/2026) que encontró 3 blockers — matching de municipios con artículo gallego/catalán ("La Coruña"), wheel no editable roto por ruta de datos fuera del paquete, y excepciones crudas en inglés ante red/JSON inválido — y varias mejoras (validación de limite, mensaje más prudente en "sin_gasolineras", alias "gasoil", metadata de pyproject.toml). Todo corregido, retesteado (41 tests) y reconfirmado por el revisor.

PUBLICADO el 17/07/2026: repo público (github.com/gregoriofraile/gasolineras-mcp), PyPI (pypi.org/project/gasolineras-mcp/, v0.1.0), release v0.1.0. Verificado end-to-end: uvx gasolineras-mcp desde PyPI + consulta real en sesión nueva de Claude Code. El plan de publicación pasó revisión adversarial (17/07/2026). El upload a PyPI lo ejecuta el autor en su terminal — el token nunca pasa por sesiones de Claude (regla permanente para releases). Cuenta PyPI: greg-lezolab. Fixture de tests: Teruel (id 6716). Commits con email noreply de GitHub, autor "Gregorio Fraile".

Fase 2 (directorios MCP), estado a 17/07/2026: (a) topics del repo puestos y verificados (mcp, mcp-server, model-context-protocol, spain, gasolineras, open-data, claude), (b) PR a punkpeye/awesome-mcp-servers abierto: https://github.com/punkpeye/awesome-mcp-servers/pull/10302 — una línea en Travel & Transportation, orden alfabético, título con 🤖🤖🤖 (vía rápida para PRs de agentes según su CONTRIBUTING). Fork en gregoriofraile/awesome-mcp-servers (rama add-gasolineras-mcp), borrable tras el merge. Pendiente de merge de los maintainers. El bot del repo (github-actions, comentario del 17/07 13:16) exigió: servidor listado en Glama + badge de score en la línea del PR. Ambos hechos el mismo día: Glama ya había auto-indexado el servidor (glama.ai/mcp/servers/gregoriofraile/gasolineras-mcp, badge verde) y el badge se añadió con un segundo commit al PR, respondiendo al bot.

Read the full file on GitHub · 289 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +36 lines · +591 tokens per session scan C → D b6b9a2b1536e
  2. 2mo ago First seen · 253 lines · 3,797 tokens per session scan C 03726be973c8

Subscribe to this mod's changes

gasolineras-mcp CLAUDE.md is an instructions file published in the GitHub repository gregoriofraile/gasolineras-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 4,388 tokens to every session, about $0.0176 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

gasolineras-mcp CLAUDE.md compared with instructions from other repositories

gasolineras-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gasolineras-mcp CLAUDE.mdgregoriofraile/gasolineras-mcpInstructions file01mo agoMITD4,388Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode