Ticket Fighter
Automates parking ticket detection, evidence gathering, and dispute preparation across multiple US cities.
README
Ticket Fighter
An MCP server that automates parking ticket detection, evidence gathering, and dispute preparation across multiple US cities. Runs fully in the cloud via the @ticket_fighter MMP bot or locally as a stdio MCP server.
MMP Bot
DM @ticket_fighter on MMP to use Ticket Fighter through any AI assistant. The bot runs on Railway and handles everything headlessly.
Landing page: tf.mmp.chat
Commands:
add ABC1234 NY nyc— Monitor a platecheck— Scan for tickets nowanalyze 1234567 nyc— Evidence & defense strategydispute 1234567 nyc— Generate disputesubmit 1234567 nyc— Submit to city portalstatus 1234567 nyc— Check outcomegmail— Connect Gmail for decision trackinghelp— Show all commands
Bot source: /ticket-fighter-bot
Supported Cities (24)
Open Data API (no browser needed)
| City | API | Fallback |
|---|---|---|
| NYC | NYC Open Data (SODA nc67-uf89) |
CityPay scraper if data >30 days stale |
| San Francisco | SF Open Data (SODA ab4h-6ztd) |
eTIMS scraper if data >30 days stale |
| Chicago | CHIPAY JSON API (ticket # lookups) | Browser scraper for plate searches (hCaptcha) |
No CAPTCHA (fully automatable)
| City | Platform | Dispute Method |
|---|---|---|
| Boston | RMC Pay | Online/mail/video appeal |
| Miami | RMC Pay | Via Miami Parking Authority |
| Charlotte | RMC Pay | 3-tier appeal |
| Denver | RMC Pay | Via portal |
| Dallas | RMC Pay | Via portal |
| Raleigh | RMC Pay | Via portal |
| Orlando | CPC | Notarized appeal form (PDF) |
| Baltimore | Custom | Phone/in-person (410-396-3000) |
| Atlanta | DS Payments | Duncan appeal portal (14-day deadline) |
| San Diego | DS Payments | Duncan appeal portal |
| Detroit | DS Payments | Duncan appeal portal |
| Pittsburgh | DS Payments | Duncan appeal portal |
| Milwaukee | DS Payments | Duncan appeal portal |
| Sacramento | DS Payments | Duncan appeal portal |
| New Orleans | DS Payments | Duncan appeal portal |
CAPTCHA (auto-solved via 2Captcha, or user solves in browser)
| City | Platform | CAPTCHA Type | Dispute Method |
|---|---|---|---|
| NYC | CityPay | reCAPTCHA v2 | HBW online hearing |
| Chicago | CHIPAY | hCaptcha | eHearing |
| Washington DC | eTIMS | Custom image | DC DMV online |
| San Francisco | eTIMS | Custom image | SFMTA citations |
| Detroit (eTIMS) | eTIMS | Custom image | Via portal |
| Cleveland | eTIMS | Custom image | Via portal |
| Columbus | eTIMS | Custom image | Via portal |
| Oakland | eTIMS | Custom image | Via portal |
| Santa Monica | eTIMS | Custom image | Via portal |
Platform adapters (add new cities with one line of config)
- RMC Pay — 50+ US cities use this platform. Add any with:
createRmcPayAdapter({ cityId, displayName, subdomain }) - DS Payments — 25+ cities. Add with:
createDsPaymentsAdapter({ cityId, displayName, citySlug, appealSlug }) - eTIMS — 10+ major cities. Add with:
createEtimsAdapter({ cityId, displayName, cityPath, subdomain })
Cloud Operation
Ticket Fighter runs fully headless in the cloud with these env vars:
| Var | Purpose |
|---|---|
CAPTCHA_API_KEY |
2Captcha API key — auto-solves reCAPTCHA v2 (NYC) and hCaptcha (Chicago) |
GOOGLE_CLIENT_ID |
Google OAuth client ID — enables Gmail API for decision tracking |
GOOGLE_CLIENT_SECRET |
Google OAuth client secret |
GOOGLE_REDIRECT_URI |
OAuth callback URL (e.g. https://tf.mmp.chat/auth/gmail/callback) |
Without these, the tools fall back to headed browser mode (local use only).
ChatGPT App
Ticket Fighter includes a widget UI for ChatGPT. All tools render inline results — a dashboard for check_tickets, detail views for analyze_ticket, dispute previews, and status badges.
To rebuild the widget: cd app && npm install && npm run build
Setup
npm install
npx playwright install chromium
cd app && npm install && npm run build && cd ..
npm run build
Claude Code (.mcp.json)
{
"mcpServers": {
"ticket-fighter": {
"command": "node",
"args": ["/path/to/ticket-fighter/dist/index.js"]
}
}
}
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"ticket-fighter": {
"command": "node",
"args": ["/path/to/ticket-fighter/dist/index.js"]
}
}
}
Tools
manage_plates
Add, remove, or list saved license plates.
check_tickets
Scan city portals for open violations on your saved plates.
analyze_ticket
Gather evidence for a specific ticket: details, Street View imagery, registration cross-references, applicable traffic rules, common defenses, and past dispute history.
generate_dispute
Format dispute arguments into city-specific structure. Returns a preview — does not submit.
submit_dispute
Submit a previewed dispute. Requires explicit confirmation.
check_status
Check dispute status via city portal or Gmail search for decision emails.
setup_gmail
Connect Gmail for decision email monitoring. With Google OAuth configured, returns an authorization URL. Without it, opens a browser for manual login.
Scripts (NYC submission helpers)
NYC's submit_dispute MCP tool intentionally throws — DOF submissions require the user in the loop (evidence upload, personal info, penalty-of-perjury attestation). Two scripts in scripts/ handle the flow:
fetch-summons-citypay.mjs <violation>...
Launches a headed Chromium, walks through CityPay's "Search by Parking Violation" tab for each violation, saves the officer's summons image and CityPay results page to ~/.ticket-fighter/decisions/. User solves any reCAPTCHA; script auto-detects solve (token present OR form navigation) and continues.
node scripts/fetch-summons-citypay.mjs 9270466449 4051701815 8998315609
submit-dispute-nyc.mjs <violation>
Polling-fill for NYC DOF's "Dispute by Web" form. Opens https://www.nyc.gov/site/finance/vehicles/dispute-web.page; user clicks "Dispute by Web" (opens a new tab); script watches all tabs and iframes in the context; every 3 seconds it fills any form field it recognizes (name, address, city, zip, email, plate, violation #, argument textarea) and attaches evidence files to any input[type=file]. Stops at the final Review/Submit page — user reviews and clicks submit manually.
Configure at the top of the script:
RESPONDENT— name, address, emailEVIDENCE— map of violation # → array of file paths- Dispute argument text is loaded from
~/.ticket-fighter/decisions/dispute-<violation>.txt
node scripts/submit-dispute-nyc.mjs 9270466449
DOF-accepted file types: PDF, JPG/JPEG, TIFF, BMP, GIF. Not PNG — convert with sips -s format jpeg in.png --out out.jpg before listing in EVIDENCE.
Adding a New City
If the city uses RMC Pay (check if {cityname}.rmcpay.com loads their portal):
- Add one line to
src/adapters/rmcpay-cities.ts:export const myAdapter = createRmcPayAdapter({ cityId: "mycity", displayName: "My City", subdomain: "mycitysubdomain" }); - Register in
src/index.ts - Build and test
For other platforms:
- Create
src/adapters/yourcity.tsimplementing theCityAdapterinterface - Create
src/codes/yourcity-codes.jsonwith violation codes and defenses - Register the adapter in
src/index.ts - Build and test
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.