Free hosting for Claude Code projects (with MCP)
You started a Claude Code session, described a feature, and ten minutes later you have a working repo on disk. The next question is always the same: now what? This post is the shortest path from a Claude-generated repo to a public, SSL-secured URL — using Launchmatic's free tier, no credit card.
The 90-second deploy
If you just want the commands:
# 1. Inside the directory Claude Code generated:
git init && git add . && git commit -m "init"
gh repo create --private --push
# 2. Install Launchmatic and deploy:
npm install -g @launchmatic/cli
lm login
lm deploy
That's it. The output prints a https://<your-app>.launchmatic.app URL. The free tier supports three services, a 1 GB Postgres, and gives you that subdomain with SSL out of the box.
Why this works for Claude Code projects specifically
Claude Code rarely generates a Dockerfile, and Anthropic's model has a habit of picking unusual stacks (FastAPI + Bun, Hono + Drizzle, SvelteKit with a Python sidecar, etc.). Most hosts handle one or two of these well. Launchmatic uses Nixpacks under the hood, which detects 30+ runtime/framework combinations, so it tends to just work on whatever Claude wrote.
Practical examples we've seen ship without manual config:
- Next.js 16 + Postgres
- FastAPI + Vite + Tailwind
- Bun + Hono + Drizzle ORM
- Rails 8 + Tailwind + Stimulus
- Go + HTMX
- Deno Fresh
- Python + LangGraph + Postgres
If your repo is in that shape, you don't need to write any infrastructure code.
The MCP integration: deploy from inside Claude Code
The CLI is the floor; MCP is the ceiling. Launchmatic ships a remote MCP server, so Claude Code can deploy as a tool call:
claude mcp add launchmatic https://launchmatic.io/mcp
Now in any Claude Code session you can say "deploy this project" and Claude will call our deploy tool, watch the build, and stream logs back to you. No context-switching to a terminal.
The MCP server exposes:
deploy— deploy the current directory or a specified servicelogs— tail logs for a serviceservices_list— show all services in your teamenv_set/env_get— manage env varsdb_create— provision Postgres / Redisrollback— revert the last deploydomain_add— add a custom domain with auto-SSL
It's OAuth-authenticated, so Claude Code negotiates credentials once and then operates on your account.
Adding a database
If Claude generated code that imports a Postgres client, add a database in one command:
lm db create postgres --name app-db --link my-claude-app
lm deploy
The --link flag injects DATABASE_URL into the service's environment. Claude Code's generated code should pick it up automatically as long as the ORM reads from process.env.DATABASE_URL (Prisma, Drizzle, Knex, raw pg — all standard).
Adding a custom domain
When you outgrow your-app.launchmatic.app:
lm domain add yourdomain.com --service my-claude-app
The CLI prints the DNS record to add. Once it resolves, cert-manager issues a Let's Encrypt cert automatically. Free on the Pro tier; the free tier ships the .launchmatic.app subdomain with SSL but not custom domains.
Auto-deploy on git push
Connect your repo to GitHub once via lm github connect (or the dashboard) and every push to your default branch triggers a redeploy. Pushes to other branches create preview deploys with their own URLs — handy when Claude is iterating on a feature branch.
What it costs
| Tier | Price | Services | Database | Custom domains |
|---|---|---|---|---|
| Free | $0 | 3 | 1 GB Postgres | No (subdomain only) |
| Pro | $20/mo | 20 | 10 GB Postgres | Yes, auto-SSL |
| Team | $50/seat/mo | Unlimited | Unlimited | Yes, auto-SSL |
The free tier is genuinely free — no credit card, no surprise upgrades. Most personal Claude Code projects fit in it indefinitely.
When not to use Launchmatic
- If you need edge runtime / V8 isolates specifically (use Cloudflare Workers).
- If your app is purely static HTML (any CDN is cheaper).
- If you're already on Vercel and happy there — no need to migrate.
For everything else Claude Code generates — full-stack Next.js, Python APIs, Bun servers, Rails apps, Go services, monorepos — Launchmatic is the shortest deploy path that exists in 2026.
npm i -g @launchmatic/cli && lm deploy. Done.