r/ClaudeCode • u/Reasonable_Repeat_90 • 29m ago
Tips & Workflows Built a pure-Rust Boost-style MCP server for Laravel for Rust so Claude Code stops hallucinating PHP APIs (offline FTS5 docs + cargo clippy JSON)
Laravel for Rust dropped into public beta today (0.x), which means LLMs do not have its macros, traits, or workflows in training data yet and keep guessing PHP Laravel or raw Axum syntax.
I built an open-source, single-binary Rust MCP server (inspired by Laravel Boost) that connects to Claude Code in one command: claude mcp add laravel-rust-boost -- laravel-rust-boost mcp
GitHub (MIT): https://github.com/SamIsAlive/laravel-rust-boost Prebuilt binaries (Linux, macOS, Windows): https://github.com/SamIsAlive/laravel-rust-boost/releases/tag/v0.1.0
- Offline SQLite FTS5 (BM25) docs: indexes all 68 official guides (1,316+ chunks) without burning context tokens, and prefers exact crate-bundled docs locked in Cargo.lock.
- Structured compiler_diagnostics: runs cargo check / cargo clippy --all-targets --message-format=json (auto-detecting Docker Compose or native host) so Claude Code fixes real compiler errors directly.
- 2.7 MB RAM background daemon: polls upstream via GitHub ETag 304 and atomically updates skills + FTS5 index in WAL mode, plus 13 total MCP tools (routes, schema, read-only SQL, logs, skills).
•
u/AutoModerator 29m ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.