# SerpBear

Keyword ranks you host. SerpBear is MIT — Semrush and Ahrefs without the backlink index as a product.

**Replaces:** Semrush / Ahrefs

**Tier:** Easy

## Problem

Semrush and Ahrefs sell rank tracking plus a backlink/content OS. You wanted positions for keywords you care about. SerpBear is MIT (towfiqi/serpbear) — a rank tracking app you host. It is not Ahrefs' live index, Semrush's site audit SKU, or every content-template pack. Lighthouse is Apache-2.0 for page audits. Matomo covers on-site search reports. Ackee is MIT privacy analytics. This page does not invent a backlink graph.

## Stack

- [SerpBear](https://docs.serpbear.com/) — MIT search-engine position rank tracking you can self-host

## Estimated SaaS cost saved

| You stop paying | Typical / year | Self-host instead |
|---|---:|---|
| Semrush / Ahrefs (small team) | $1,200 | SerpBear |

**About $1,200 / year** on a small team, before you count lock-in.

## Deploy on Railway

Placeholder: SerpBear + a database. Scraping search-engine result pages has ToS and IP consequences — read the project docs. Bind HTTP to 0.0.0.0:$PORT. No one-click template in this repo yet — Start on Railway. Pageviews stay on /stacks/swetrix-analytics.

[Start on Railway](https://c17.io/go/railway/serpbear-seo?from=%2Fstacks%2Fserpbear-seo.md)

[Swetrix if this is pageviews, not keyword ranks](https://c17.io/stacks/swetrix-analytics)

## AGENT_PROMPT

```
Replace Semrush or Ahrefs rank tracking with SerpBear (https://docs.serpbear.com/).

- Official image, persist the database, add the keywords you actually rank for. Do not claim a backlink index or Semrush's full audit OS.
- Page audits are Lighthouse. Pageviews stay on /stacks/swetrix-analytics. Write AGENT_PROMPT.md.
```

## FAQ

### Do I get Ahrefs backlinks?

No. SerpBear tracks positions. Lighthouse audits pages. Matomo/Ackee are on-site analytics. The backlink index is the vendor product this page leaves.

### SerpBear or Matomo?

SerpBear if the job is keyword ranks. Matomo if the job is analytics on your site. You can run both.

### Is scraping Google allowed?

Search-engine ToS apply. Read SerpBear's docs. This site does not invent a scraping policy.

Source: https://c17.io/stacks/serpbear-seo
