Self-hosting
Run the whole thing on your own server, for free.
MagpieCRM is open source under AGPL-3.0. It ships as one Docker image that listens on port 3000 and keeps its data in a single JSON file on a volume. Add a SocialFetch key, an email provider and an email verifier, and every feature runs on a server you control.
- License
- AGPL-3.0
- Image
- ghcr.io/magpiecrm/magpie-crm-app
- Current release
- 0.9.23
- Port
- 3000
- Data
- one JSON file on a volume
- Price
- free
ghcr.io/magpiecrm/magpie-crm-app:0.9.23- port
- 3000
- volume
- /data · db.json
- Email verificationEmail verifierconnected in Settings→ company mail servers · outbound port 25
- Prospect dataSocialFetch APIyour API key→ company and people search
- SendingYour email providerSMTP, Amazon SES, Postmark, Resend, SendGrid, Mailgun, Brevo, Mailchimp Transactional or Cloudflare→ your recipients
One app container with a volume, and the outside services it talks to.
Get started
Up and running in four steps.
The full steps, with a compose file, are in the self-hosting docs and the setup guide on GitHub.
Generate a secret
Run openssl rand -hex 32 for TRACKING_SECRET. Set it once and keep it: it signs your tracking and unsubscribe links.
Start the container
Run the image with a volume for your data, and AUTH_EMAIL and AUTH_PASSWORD for the first sign-in.
Add an email provider
Open the app on port 3000 and set up sending in Settings, then Sending. Until you do, emails are only logged, not sent.
Connect a verifier
In Settings, then Email verification, add your verification server's URL and secret. It needs outbound port 25, or proxies.
Bring your own
What you connect.
MagpieCRM runs the app. The data, sending and verification come from accounts and servers you choose. For verification, read the proxy guide.
| What you use | Where it goes | |
|---|---|---|
| Prospect data | Your own SocialFetch API key, paid to SocialFetch directly | Settings, then Data source |
| Sending | Generic SMTP, Amazon SES, Postmark, Resend, SendGrid, Mailgun, Brevo, Mailchimp Transactional or Cloudflare | Settings, then Sending |
| Bounces and complaints | Your provider's webhooks, pointed at your copy and protected by WEBHOOK_SECRET | Your provider's dashboard |
| Email verification | Your own verification server, with outbound port 25 or SOCKS5 proxies | Settings, then Email verification |
| AI copilot | Your own Anthropic or OpenAI API key | Settings, then Copilot |
What's included
Every feature, on your server.
The whole app
Prospect search, verified emails, contacts and deals, campaigns, forms, surveys and the copilot, all in the one image.
MCP server included
Connect Claude Code, Claude Desktop, Cursor or Codex to your copy at /api/mcp.
Your team
Add users with an email and password in Settings, then Team and login. There are no seat fees.
Pinned releases
Run a version tag rather than latest, and upgrade when you choose. A new version reads the previous version's data.
One file to back up
Your data is a single JSON file, with uploaded images next to it. Back up the volume and you have everything.
Open source
AGPL-3.0: use, change and run it for any purpose, including commercially. Offer a changed version as a hosted service and you must publish your changes.
Or let us run it
What Magpie Cloud does for you instead.
Email verification needs clean IPs, outbound port 25 and blocklist monitoring. Sending needs warmed-up IPs and bounce handling. On Magpie Cloud, running that infrastructure is our job.
Why Cloud explains it in full.
- Prospect data and email verification included
- Checks run from our verification IPs, with our own domain, never yours
- Our IPs checked against blocklists every 6 hours
- Sending through our servers, signed for your domain
- Your own isolated workspace, hosted in Germany, updated for you, from £10/month
Not yet
What it doesn't do yet.
MagpieCRM is early access software, at version 0.9.23. So you know before you start:
- Users have no roles or permissions yet: everyone can do everything.
- The app doesn't set up SPF or DKIM for you. You do that with your email provider.
- There's no one-click export of the whole account. Export contacts, lists, companies and deals one at a time.
FAQ
Questions, answered.
What does self-hosting cost?
MagpieCRM itself is free. You pay for your server, your SocialFetch credits, your email provider, and the servers or proxies your email verifier runs on.
What server do I need?
Anything that runs Docker and keeps a persistent volume. For email verification, the verification server or its proxies need outbound port 25, which most cloud providers block.
How do I upgrade?
Pull a newer version tag and restart the container. A new version reads the previous version's data, and there's no migration command to run. Back up the volume first.
Is the self-hosted version the same as Cloud?
It's the same app. On Magpie Cloud, prospect data, email verification, sending and updates are handled for you. Self-hosted, you connect your own and apply updates yourself.
Keep exploring
Related
Find verified contacts and email them this week.
Start on Magpie Cloud from £10 a month, or run it yourself for free.