CA Vanity Plate MCP
by haruny
README.md
# CA Vanity Plate MCP
An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that checks California personalized license plate availability via the CA DMV's ordering system, and validates plate configurations against published DMV rules.
## Tools
| Tool | Description |
|---|---|
| `check_plate` | Check if a specific plate is available on the CA DMV |
| `check_plates_bulk` | Check up to 20 plates in one call |
| `validate_plate` | Validate format/rules locally without a network request |
| `list_plate_rules` | Return the full CA DMV ruleset for personalized plates |
### Example prompts
- *"Is ZIPIR available as a California vanity plate?"*
- *"Check these plates for me: RUSTOX, R8STOX, RUSTE"*
- *"What are the rules for California personalized plates?"*
## California Plate Rules (quick reference)
- **2–7 characters** for standard/auto plates; 2–6 for motorcycles
- **Allowed:** letters A–Z, digits 1–9, spaces as separators
- **Digit 0 is prohibited** — the server auto-corrects `0` → `O`
- Cannot start or end with a space
- DMV refuses offensive, vulgar, or misleading content
Full rules: [CA Vehicle Code §§5101–5108](https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?sectionNum=5101.&lawCode=VEH)
## Installation
**Requirements:** Node.js 18+
```bash
git clone https://github.com/your-username/ca-vanity-plate-mcp
cd ca-vanity-plate-mcp
npm install
npm run build
```
## Claude Desktop Configuration
Add to your `claude_desktop_config.json`:
```json
{
"mcpServers": {
"vanity-plate": {
"command": "node",
"args": ["/absolute/path/to/ca-vanity-plate-mcp/dist/index.js"]
}
}
}
```
Config file location:
- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
- **Linux:** `~/.config/claude/claude_desktop_config.json`
Restart Claude Desktop after editing.
## How It Works
The CA DMV does not publish a public API, but their personalized plate ordering system uses one internally. This server:
1. POSTs to `checkPers.do` with `acknowledged=true` to establish a session
2. POSTs plate characters (`plateChar0`–`plateChar6`) to the same endpoint
3. Parses the JSON response `{ code: "AVAILABLE" | "UNAVAILABLE" | "UNKNOWN" }`
> **Note:** This relies on an undocumented internal DMV endpoint. It may break if the DMV changes their system.
## Credits
DMV API reverse-engineering by [JonLuca DeCaro](https://github.com/jonluca):
- [CA-DMV-Plate-Finder](https://github.com/jonluca/CA-DMV-Plate-Finder)
- [Blog post](https://blog.jonlu.ca/posts/ca-plate-checker)
## License
MIT — see [LICENSE](LICENSE)
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues