Security & Privacy · Application Security
mCaptcha
Privacy focused proof of work CAPTCHA without image puzzles
mCaptcha is a self hosted, proof of work CAPTCHA service for websites that need spam and request rate protection without image challenges. It is free software under AGPL-3.0, with client libraries using proprietary friendly free software licenses. Public demo servers exist, but mCaptcha publishes no paid hosted plan or enterprise price.
Maintenance mode. The main repository shows commits through October 7, 2025; related library work continued in June 2026. The latest tagged server release is March 15, 2024.
Key facts
- License
- AGPL-3.0
- Main language
- Rust, JavaScript, TypeScript
- Maintainer
- mCaptcha community, led by realaravinth
- First released
- 2021
- Latest release
- v0.1.0, March 15, 2024
- GitHub stars
- 2,493, October 2026
- Hosted option
- Public demo servers; no published paid hosted price
What mCaptcha is
mCaptcha is a proof of work CAPTCHA system for website operators that want to rate limit abusive requests without asking users to identify images. The project began in 2021 and is maintained by the mCaptcha community, led by realaravinth. Its GitHub repository lists 2,493 stars, 95 forks, and ten named top contributors, with realaravinth accounting for 761 contributions. The project received 2023 development funding through the NGI0 Entrust Fund via NLnet. Public demo servers include one running on a Raspberry Pi. The repository labels the project as active development, while its published release history lists v0.1.0 from March 15, 2024. mCaptcha suits operators who prefer control over verification traffic and deployment rather than a managed CAPTCHA account.
How it works
The normal workflow begins when a visitor clicks the widget on a protected website. The browser computes SHA256 proof of work and submits it to mCaptcha, which validates the work before issuing a token. The target website then sends that token back for validation before processing the form or request. Difficulty changes with load. The README describes no delay under moderate load and a delay of up to two seconds during an attack. Proof of work configurations remain valid for 30 seconds and can be used once, which limits replay attempts. CAPTCHA routes are cookie free and do not use IP addresses for rate limiting. The widget automates the process from the visitor's perspective, leaving one click as the visible interaction.
Architecture and recent releases
Rust supplies the backend, with Actix Web listed among repository topics. JavaScript, TypeScript, HTML, CSS, and SCSS support the widget and interface. PostgreSQL is the documented database, while deployment documentation references the mCaptcha cache module and Redis based cache work. Operators can deploy with Docker, Docker Compose, or bare metal. The v0.1.0 release included tagged Docker images and binaries, OpenAPI build handling, progress reporting, analytics percentile calculations, dark mode, and health endpoint fixes. Related libmcaptcha work continued in June 2026 with a Redis actor panic fix and dependency updates. The main release page still lists v0.1.0 as the latest published mCaptcha release, making the surrounding library activity more current than the core release cadence.
License and pricing
The core is licensed under the GNU Affero General Public License version 3.0. AGPL-3.0 permits commercial use, subject to its license obligations, including requirements that can apply when modified software is offered over a network. The official site says client libraries use proprietary friendly free software licenses, while the core remains AGPL. mCaptcha is presented as free software. Public demo servers are available for evaluation, but they may run versions behind the master branch and frequently wipe their databases. The project does not publish a paid hosted plan, subscription price, or enterprise price. Deployment documentation says prebuilt images were planned after the project reached alpha, so operators may need to build images locally.
Limitations and how it compares
mCaptcha's main limitation is maturity. The README describes core functionality as work in progress, the stable release history stops at v0.1.0, and bare metal deployment requires several manual dependency and service steps. Google reCAPTCHA and hCaptcha provide established hosted services with managed delivery, while mCaptcha requires operators to run the service and database. Friendly Captcha is another proof of work oriented alternative, though mCaptcha emphasizes cookie free routes and IP independent rate limiting. The project says its APIs are compatible with reCAPTCHA and hCaptcha, which may reduce migration effort, but deployment remains the operator's responsibility. Pick mCaptcha when privacy and infrastructure control matter more than managed operations, account tooling, and a published commercial support plan.
Main features
- Proof Of Work. Browsers compute SHA256 proof of work before mCaptcha issues a token for the protected request.
- Single Use Tokens. Short lived proof configurations expire after thirty seconds, reject reuse, restrict replay attempts, and therefore limit opportunities for repeated unauthorized validation requests.
- IP Independent Limits. The system avoids IP based rate limiting, supporting visitors whose traffic passes through network address translation.
- Automated Widget. A client widget lets visitors initiate verification with one click instead of solving image puzzles.
- Variable Difficulty. Proof of work difficulty changes with load, with documented delays ranging from none to two seconds.
- OpenAPI Support. Version 0.1.0 introduced OpenAPI build handling for the backend interface, improving generation and maintenance of interface specifications during software development workflows.
- Analytics Dashboard. The release introduced percentile calculations and dashboard views, enabling performance analysis based on proof of work records and related data.
Self-hosting mCaptcha
mCaptcha documents Docker, Docker Compose, and bare metal deployment. Docker users build the image locally, configure the service, and provide a PostgreSQL connection. Docker Compose can launch the application and database together. Bare metal installation requires Rust, Node v14.16.0, Yarn, Make, PostgreSQL, the mCaptcha cache module, and a systemd service. Redis is supported through the cache module, but the documented Compose path centers on PostgreSQL and the application. The documentation publishes no minimum CPU, memory, or storage requirements. Operators should preserve PostgreSQL data and configuration during upgrades, review early release breaking changes, and test migrations before replacing containers. The project does not document a Helm chart, package manager installation, or formal backup utility.
Strengths
- Proof of work avoids image challenges for ordinary visitors.
- Cookie free routes reduce tracking exposure during verification.
- IP independent rate limiting supports users behind NAT.
- Docker, Compose, and bare metal deployment paths are documented.
Drawbacks
- The latest published release is v0.1.0 from March 2024.
- The project describes its core functionality as work in progress.
- Bare metal installation requires several manual dependency and service steps.
What teams replace with it
Teams usually evaluate mCaptcha when they want to move off Google reCAPTCHA, hCaptcha.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to mCaptcha
Frequently asked questions
Is mCaptcha free to use?
Yes. The project describes mCaptcha as free software and publishes its core under AGPL-3.0. Public demo servers are available, but they are intended for demonstration and may run versions behind the main development branch. The project publishes no paid hosted plan, subscription price, or enterprise price. Production operators should therefore plan to self host the service and its database.
Can companies use mCaptcha commercially?
The core uses AGPL-3.0, which permits commercial use subject to the license obligations. Organizations distributing modified versions or providing network access to modified software should have legal and engineering teams review the applicable requirements. The official site says client libraries use proprietary friendly free software licenses, while the core remains AGPL. That split matters when designing integrations and deployment arrangements.
How do you self host mCaptcha?
The documented options are Docker, Docker Compose, and bare metal. Docker deployments build the image and configure PostgreSQL, while Compose can start the application and a database together. Bare metal installation requires Rust, Node v14.16.0, Yarn, Make, PostgreSQL, the cache module, and a systemd service. The deployment documentation publishes no minimum CPU, memory, or storage specification.
How does mCaptcha compare with reCAPTCHA and hCaptcha?
mCaptcha uses browser proof of work and issues tokens that the protected site validates, while reCAPTCHA and hCaptcha are hosted services with managed delivery. mCaptcha emphasizes cookie free routes, no IP based rate limiting, and self hosting. The official site says its APIs are compatible with reCAPTCHA and hCaptcha, but operators still manage infrastructure and receive no published hosted service price.
Does mCaptcha protect user privacy?
The project describes mCaptcha as privacy focused, with cookie free CAPTCHA routes and no user profiling. Its rate limiting does not use IP addresses, which also supports users behind NAT. Verification uses SHA256 proof of work in the browser, followed by token validation. These design choices do not remove operational duties, so deployment teams remain responsible for database access, logs, configuration, and network security.
Similar projects to compare
- ALTCHAMITALTCHA is an MIT-licensed, self-hosted CAPTCHA alternative for websites, APIs, and online services. It targets teams that want browser proof of work, accessible image and audio fallbacks, and server-side verification without a required third-party service. ALTCHA Cloud provides managed EU hosting from €47 per month for three sites, while Sentinel adds paid self-hosted protection.
- CapApache-2.0Cap is an Apache-2.0, self-hosted CAPTCHA alternative for teams replacing reCAPTCHA or hCaptcha. Released in 2025 and maintained by tiagozip with community contributions, it combines proof-of-work with browser instrumentation. Cap has 8,124 GitHub stars and a September 2026 Standalone release, while its documented deployment model runs on a $5 VPS for most sites.
- Friendly CaptchaMIT for v1 friendly-challenge widget; MPL-2.0 for v2 SDK; proprietary source-available hosted backendFriendly Captcha is a hosted bot-protection service that asks browsers to solve invisible proof-of-work challenges instead of labeling images. The v1 widget is MIT licensed, while the v2 browser SDK is MPL-2.0 and the verification backend is proprietary source-available. A free non-commercial tier exists, alongside paid commercial plans and custom Enterprise pricing.
- AbbyAGPL-3.0Abby is an AGPL-3.0 platform for feature flags, remote configuration, and A/B testing, aimed at development teams using typed JavaScript integrations. It combines a dashboard with SDKs and self-hosting instructions, and the maintainers offer a hosted service at tryabby.com with pricing displayed from $12 per project per month.
- FeaturevisorMITFeaturevisor is an open source feature management tool for developers who want flags, experiments, and typed configuration stored in Git. It is MIT licensed, free for commercial use, and has no hosted service to sign up for. Teams provide their own Git repository, CI pipeline, and CDN or custom server for generated datafiles.
- FliptFCL-1.0-MIT (source-available server); MIT (SDKs)Flipt is a self-hosted feature-flag management server for teams that want configuration changes reviewed and stored through Git. It targets developers and operators using environments, branches, APIs, and OpenFeature integrations. The server uses Fair Core License 1.0 with a future MIT license, while clients and SDKs use MIT. There is no primary hosted edition; self-hosted Pro starts at $200 monthly.
Sources
- GitHub repository
- Latest published release
- Deployment documentation
- Official website
- Repository commit history
Last updated 2026-10-22.