About HitKeep
HitKeep is open-source web analytics software for teams tracking traffic, conversions, Search Console data, and AI visibility. Its read-only MCP server gives approved assistants governed access to aggregate analytics rather than visitor profiles.
Key features
- 01Track traffic, conversions, and AI referrals
- 02Measure goals, funnels, and ecommerce revenue
- 03Connect Search Console and Web Vitals data
- 04Cookie-free browser tracking with Do Not Track support
- 05Export data and self-host as one binary
Use cases
- 01Review aggregate website traffic with an assistant
- 02Compare acquisition sources and conversion outcomes
- 03Monitor AI-referred visits and crawler activity
- 04Keep analytics data under self-hosted control
MCP support
The read-only MCP server exposes approved assistants to governed access to HitKeep aggregate analytics. The input does not specify individual MCP tools.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://{hitkeep_host}/mcpclaude mcp add --transport http pascalebeier-hitkeep https://{hitkeep_host}/mcp{"mcpServers":{"pascalebeier-hitkeep":{"type":"http","url":"https://{hitkeep_host}/mcp"}}}Open in Cursor{"servers":{"pascalebeier-hitkeep":{"type":"http","url":"https://{hitkeep_host}/mcp"}}}Open in VS Code{"mcpServers":{"pascalebeier-hitkeep":{"type":"http","url":"https://{hitkeep_host}/mcp"}}}{"mcpServers":{"pascalebeier-hitkeep":{"serverUrl":"https://{hitkeep_host}/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://{hitkeep_host}/mcpAuth requiredTools
Details
From the project README
AI native, sovereign, privacy-first web analytics in one binary.
100% open source under MIT, HitKeep unifies traffic, conversions, Search Console, and AI visibility with custom tracking domains, SSO, open exports, and no separate database, queue, or cache.
Self-host · Documentation · Cloud · Website

Why HitKeep
- 100% open source. The complete product is MIT-licensed. Custom tracking domains and team SSO live in the same public codebase—not in a separate proprietary edition.
- Full data sovereignty. Self-host one Go binary with embedded DuckDB and NSQ, or export your data in open formats. Complete takeout, APIs, webhooks, share links, and permissions keep the data useful outside HitKeep.
- AI-native analytics. HitKeep treats AI as a first-class traffic channel: crawler fetches, AI-referred visits, and chatbot outcomes remain distinct. Ask AI uses cited aggregate evidence, while read-only MCP gives approved assistants governed analytics access.
- Privacy by default. The browser tracker sets no analytics cookies, respects Do Not Track, and collects focused website analytics without building a cross-site identity.
- Reporting that reaches the outcome. Follow acquisition through pages, automatic and custom events, goals, funnels, ecommerce revenue, UTM and QR campaigns, Search Console, and Web Vitals.
Self-host the complete open-source product, or use HitKeep Cloud in a managed EU or US region when you do not want to operate it yourself.
HitKeep is web-focused. It favors aggregate traffic and conversion evidence over visitor profiles, session replay, mobile SDKs, or built-in experimentation. The result is a smaller collection boundary and operating surface without stopping at a basic pageview counter.
Quick Start
On Apple silicon macOS or x86_64 Linux, install HitKeep with Homebrew:
brew install HitKeep/hitkeep/hitkeep
hitkeep --version
Follow the Homebrew installation guide to configure and start HitKeep. On Linux ARM64, use the published ARM64 binary or Docker instead.
For a production-oriented self-hosted setup, download the Docker Compose file and environment template:
mkdir hitkeep && cd hitkeep
curl -fsSLo compose.yml https://raw.githubusercontent.com/HitKeep/hitkeep/main/examples/compose.yml
curl -fsSLo .env https://raw.githubusercontent.com/HitKeep/hitkeep/main/examples/.env.example
Open .env and replace paste-the-generated-value-here with a long random value from your password manager. Then start HitKeep:
docker compose up -d
Open http://localhost:8080 and create the first account. Keep .env private and retain the same secret across restarts.
Before exposing an instance publicly, follow the Docker Compose guide for HTTPS and trusted proxies, then review backups and the configuration reference. For a native Linux service, download an AMD64 or ARM64 binary from GitHub Releases and follow the binary installation guide.
Track Your First Site
Create a site in the dashboard, then add the tracker to your pages:
<script async src="https://analytics.example.com/hk.js"></script>
Pageviews and supported automatic interaction events—outbound clicks, file downloads, and form submissions—start flowing immediately. Use the custom events guide for product-specific actions such as signups, purchases, or qualified leads.
Explore HitKeep
See AI visibility, ecommerce, Search Console, Ask AI, and Assistants
AI visibility

Ecommerce

Search Console

Ask AI

Assistants

Documentation, Community, and Support
Find answers in the documentation, report reproducible bugs through GitHub Issues, and disclose vulnerabilities privately through the security policy.
Contributor quick path
Run ./hk setup, then start seeded development with ./hk dev --seed or use ./hk dev --detach. Capture product proof with ./hk screenshot; inspect ./hk catalog commands --output json and ./hk catalog configuration --output json instead of copying mutable workflow facts. Validate with ./hk qa pr. The Compose stack and complete workflow live in CONTRIBUTING.md.
- Operate: Installation · Configuration · REST API · Goals · Funnels
- Evaluate: Comparison library · Compliance · Releases · Changelog
- Contribute: Contributor guide · Security policy · Issues
- Support open source: Fund HitKeep on GitHub Sponsors or make a one-time contribution.
License
HitKeep is distributed under the MIT License.
DuckDB extensions
HitKeep includes the DuckDB extensions required for S3 backups and XLSX exports.
It does not download extensions at startup. On first use, bundled files are
extracted into HITKEEP_DATA_PATH/.duckdb/extensions; this directory must be
writable by the process running HitKeep and reside on a mount without noexec.
The cache is disposable and can be
recreated without network access. No HOME override or separate extension
installation is needed for binary, Homebrew, or container deployments.
Contributor instructions for DuckDB upgrades are in the extension bundle documentation.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.