oschwald/geoip2-golang
Unofficial MaxMind GeoIP2 Reader for Go observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 83
- age_days: 4554
- days_rel: 25
- days_push: 10
- n_releases_24m: 6
Adoption not part of the score
2332 stars · 219 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library for reading MaxMind GeoIP2 and GeoLite2 databases to look up geolocation data for IP addresses. It is built on the maxminddb reader and provides typed structs for city, country, and location records.
Use cases
- look up the country and city of an IP address in Go
- read MaxMind GeoLite2 mmdb databases
- add IP geolocation to a web server or API
- get coordinates and time zone for an IP
- map IP addresses to ISO country codes
When to choose
- you need typed, convenient access to full GeoIP2 database records in Go
- you want a maintained wrapper over maxminddb with a modern netip.Addr-based API
When to avoid
- you only need a few fields and want maximum performance - use maxminddb-golang's Lookup directly
- you need live IP geolocation without a local MaxMind database file
Facets
library · maturity active
database-driver geospatial sdk developer-tools apis go cross-platform geoip2 maxmind ip-geolocation mmdb geolite2 geolocation
1 source
- readme: https://github.com/oschwald/geoip2-golang · fetched 2026-08-28 · 5105cd2cbc82
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| oschwald/geoip2-golang | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="oschwald/geoip2-golang")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem