# graphhopper/graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.

Repository: https://github.com/graphhopper/graphhopper
Canonical: https://ross.abutalabs.com/products/graphhopper
Homepage: https://www.graphhopper.com/open-source/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: openstreetmap, java, geospatial, dijkstra, directions, routing-engine, astar, pathfinding, public-transportation, isochrones, map-matching, graphhopper, routing
Last push: 2026-08-26T17:06:08+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 28, longevity 100
- inputs: {"age_days": 5310, "days_push": 7, "days_rel": 323, "gap_med": 171.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6644, forks 1954 (observed 2026-08-28T04:09:47.231960+00:00)

## What it is
GraphHopper is a fast, memory-efficient open source routing engine for OpenStreetMap (and GTFS) data, usable as a Java library or standalone web server. It computes routes with turn-by-turn instructions, map matching, isochrones, and supports mobile navigation.

## Use cases
- calculate driving, cycling, or walking routes with turn-by-turn directions from OpenStreetMap data
- embed a routing engine in a Java application as a library
- self-host a routing web service with an HTTP API
- snap GPS traces to road segments (map matching)
- compute isochrones for reachability analysis
- build offline navigation on mobile devices
- plan routes with elevation data and road attributes

## When to choose
- you need self-hosted or offline routing without per-call API fees
- you work on the JVM and want a routing library you can embed and customize
- you need OpenStreetMap-based routing with map matching or isochrones
- you want a mature, actively maintained engine that powers openstreetmap.org route planning

## When to avoid
- you only need a hosted directions API with SLA and geocoding out of the box (the commercial GraphHopper Directions API may fit better)
- you need vehicle routing optimization (TSP/VRP) - use the companion jsprit project instead
- your stack is not JVM-based and you only want a simple client for a hosted API

## Facets
- artifact type: library
- maturity: stable
- function: geospatial, search-engine, http-server, sdk
- domain: logistics, developer-tools
- platform: jvm, cross-platform, self-hosted
- tags: routing-engine, openstreetmap, pathfinding, map-matching, isochrones, directions-api, gtfs, navigation, maps, geospatial, web-server

## Member repositories
- graphhopper/graphhopper (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:47.231960+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-29T17:43:11.083750+00:00, confidence not recorded.
  - readme: https://github.com/graphhopper/graphhopper (fetched 2026-08-28T04:09:47.231960+00:00, sha 7929c38a418d)
  - homepage: https://www.graphhopper.com/open-source/ (fetched 2026-08-29T08:39:31.954534+00:00, sha d1ab4a7117c4)
  - site_page: https://www.graphhopper.com/about-us (fetched 2026-08-29T08:39:31.958901+00:00, sha 8e62c909fe4e)
  - site_page: https://docs.graphhopper.com/ (fetched 2026-08-29T08:39:31.983157+00:00, sha baef0c449461)
  - site_page: https://www.graphhopper.com/pricing (fetched 2026-08-29T08:39:31.956966+00:00, sha 3cf6f1325e68)
  - site_page: https://www.graphhopper.com/faq (fetched 2026-08-29T08:39:31.985600+00:00, sha f9a2ac95718a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
