# maplibre/martin

Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server, tile generation, and mbtiles tooling.

Repository: https://github.com/maplibre/martin
Canonical: https://ross.abutalabs.com/products/martin
Homepage: https://martin.maplibre.org
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, webserver, postgresql, postgis, mapbox-vector-tile, mapbox-gl, mapbox-gl-js, vector-tiles, hacktoberfest, leaflet, maps, mbtiles, pmtiles, maplibre, maplibre-gl-js
Last push: 2026-08-26T14:01:27+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 3259, "days_push": 7, "days_rel": 15, "gap_med": 0.0, "n_releases_24m": 81}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3873, forks 387 (observed 2026-08-28T04:08:27.843543+00:00)

## What it is
Martin is a fast, lightweight Rust-based tile server that serves Mapbox Vector Tiles from PostGIS databases, MBTiles, PMTiles, GeoJSON, and GeoParquet sources. It also includes tooling for bulk tile generation (martin-cp) and MBTiles inspection, copying, validation, and diffing.

## Use cases
- serve vector tiles from a PostGIS database for a web map
- host MBTiles or PMTiles files as a tile server
- generate vector tiles on the fly from GeoJSON files
- bulk export tiles into an MBTiles archive
- validate and compare MBTiles files
- serve map styles, sprites, and font glyphs for MapLibre GL
- combine multiple tile sources into one endpoint
- proxy tiles from an upstream tile server

## When to choose
- you need a high-performance, self-hosted vector tile server
- your map data lives in PostGIS and you want automatic table/function discovery
- you want a single tool to serve MBTiles, PMTiles, and dynamic sources
- you need tile generation tooling alongside the server

## When to avoid
- you need raster tile rendering from raw geospatial data
- you want a full GIS platform rather than a tile server
- you need GeoParquet support as a stable feature (currently unstable via DuckDB)

## Facets
- artifact type: service
- maturity: stable
- function: http-server, web-framework, cli, geospatial, caching
- domain: web-development, backend, self-hosted
- platform: windows, rust, cli, self-hosted
- tags: vector-tiles, tile-server, postgis, mbtiles, pmtiles, maplibre, mapbox-vector-tiles, geoparquet, sprites, font-glyphs, maps, geospatial, linux, macos, docker, web-server

## Member repositories
- maplibre/martin (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:27.843543+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:25:47.301065+00:00, confidence not recorded.
  - readme: https://github.com/maplibre/martin (fetched 2026-08-28T04:08:27.843543+00:00, sha d1766e09c6f3)
  - homepage: https://martin.maplibre.org (fetched 2026-08-29T09:19:58.405897+00:00, sha a5c60a753523)
  - registry_crates: https://crates.io/api/v1/crates/martin (fetched 2026-08-29T09:19:58.415147+00:00, sha b59b1dfa81b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
