Mileage log logo

Mileage log

Track deductible trips, apply dated category rates, calculate summaries, and export the log as CSV.

Install Mileage log

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mileage-log": {
      "command": "npx",
      "args": [
        "-y",
        "@theluckystrike/mcp-mileage-log"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio mileage-log -- npx -y @theluckystrike/mcp-mileage-log

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 9 tools correctly ().

Overview

The mileage log MCP server records deductible driving trips, applies effective-dated rates by category and jurisdiction, and calculates totals. It stores trips and rates locally when run from source, while a hosted streamable-HTTP endpoint is also available with a token. Use it when you need structured mileage records, historical rate handling, or an accountant-ready CSV export.

Use cases

  • Log business, medical, moving, or charitable trips
  • Apply historical rates to trips from different dates
  • Summarize deductible mileage by category and currency
  • Export trip records as CSV for an accountant

Key features

  • Trip records with miles or kilometers
  • Effective-dated rates by jurisdiction and category
  • Date and category filtering
  • Per-trip and per-currency summaries
  • CSV export for Pro users
  • Local JSON data storage

Tools9

What Mileage log lets your agent do. Expand a tool for its parameters.

Verified live~1.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 55d

What it can do

From the 9 tools this server returned when we ran it; 7 declare their own safety hints.

Can delete or modify data · 1Makes network requests · 1Read-only tools · 8
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age12 days
Maintainers1

Observed 2026-11-11 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @theluckystrike/mcp-mileage-log (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads123Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed9Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Mileage log works

What mileage log does

The mileage log MCP server keeps a structured record of driving for deductible-use calculations. Each trip can include its date, starting point, destination, distance, unit, purpose, and category. Trips receive identifiers such as TR-YYYY-NNNN, which can be used to remove incorrect entries later.

Categories can include business, medical, moving, charitable, or personal records. The server does not provide tax advice or include official rates. You enter the figures that apply to your jurisdiction and verify them independently.

The mileage log MCP server supports both miles and kilometers. It keeps those units separate in records and converts between them when a trip unit differs from the unit configured for its applicable rate.

How it works

Rates are stored as dated entries rather than as one universal value. A rate belongs to a jurisdiction, category, unit, currency, and effective date. When a trip is listed or summarized, the server selects the rate that was active on the trip date. This allows trips from different years to use different rates automatically.

trip_list returns entries in oldest-first order and includes the rate and amount associated with each trip. Filters can restrict the result by date range or category. mileage_summary accepts a date range, defaulting to the current year, and reports distance, applied rates, and deductible amounts by category and currency.

Amounts are calculated per trip, rounded half-up to the cent, and then added to totals. Distance conversion uses the exact relationship of one mile to 1.609344 kilometers. Values in different currencies are not combined.

Setup and configuration

Three supported setup paths are documented:

  • Use the hosted streamable-HTTP endpoint with a bearer token or a token in the URL path.
  • Install the downloadable .mcpb package for Claude Desktop.
  • Clone the repository, run npm install && npm run build, and configure the generated dist/index.js as a Node MCP process.

The package is not published to npm, so an npx -y @theluckystrike/mcp-mileage-log installation currently fails. For local operation, data is stored under ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/mileage-log/ in trips.json, rates.json, and counter.json. The local server has no account, API key, or network call; license keys are checked offline.

Tools and capabilities

The mileage log MCP server exposes tools to:

  • Add, list, and remove trips by exact identifier.
  • Create and inspect effective-dated rates.
  • Produce date-range summaries by category and currency.
  • Export the log as CSV with trip, rate, and amount columns. CSV export requires Pro.
  • Check license status and activate a license.

Free usage allows 20 trips per calendar month and one rate per jurisdiction and category, with overwrites remaining available. Pro removes the trip limit, supports unlimited rate series, and enables CSV export. Reading, listing, and summarizing existing records are not metered.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mileage log

mileage log is an MCP server that connects an MCP client to a local or hosted mileage record, with tools for adding, listing, removing trips, setting and viewing effective-dated rates, summarizing deductions, exporting CSV on Pro, and checking license status. It supports miles or kilometers and category-based records.

Install it by using the hosted streamable-HTTP endpoint, downloading the Claude Desktop `.mcpb` package, or cloning the repository and building it with `npm install && npm run build`. The package is not currently published on npm, so the documented `npx` command fails.

Yes, mileage log works with Cursor through its MCP configuration. Add the server entry to the global `~/.cursor/mcp.json` or a project-level `.cursor/mcp.json`; the repository documents the same configuration pattern for its local Node entry point.

Set separate rates with effective dates using `rate_set`. Each trip is priced with the rate active on its own date, so older and newer trips can use different values for the same jurisdiction and category. No rates are included by default.

Yes, CSV export is available with Pro. `mileage_export` produces date, origin, destination, distance, category, rate, and amount fields for an accountant, and the exported line amounts reconcile with the summary calculations.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMileage log AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mileage-log?style=directory)](https://allmcps.com/mcp/mileage-log)
HTML Embed
<a href="https://allmcps.com/mcp/mileage-log"><img src="https://allmcps.com/api/badge/mileage-log?style=directory" alt="Mileage log on AllMCPs" /></a>