Skip to main content
Glama

Dawarich MCP

Minimal read-only MCP server for loading information from a Dawarich instance.

Tools

  • dawarich_get_stats -> GET /api/v1/stats

  • dawarich_get_timeline -> GET /api/v1/timeline

  • dawarich_list_visits -> GET /api/v1/visits

  • dawarich_list_points -> GET /api/v1/points

  • dawarich_get_track_points -> GET /api/v1/tracks/:track_id/points

  • dawarich_get_track_detail -> compact detail for one journey

  • dawarich_export_track -> one journey as summary, JSON, GeoJSON, or CSV

  • dawarich_reverse_geocode -> GPS coordinates to address via reverse geocoder

  • dawarich_summarize_journeys -> simple from-to trip table for a date range

Related MCP server: Strava MCP

Setup

npm install
$env:DAWARICH_URL="https://your-dawarich.example.com"
$env:DAWARICH_API_KEY="replace-with-your-api-key"
npm start

By default the API key is sent as ?api_key=..., matching Dawarich docs. If your instance expects bearer auth, set:

$env:DAWARICH_AUTH_MODE="bearer"

Reverse geocoding defaults to OpenStreetMap Nominatim. For regular use, set a clear user agent:

$env:DAWARICH_GEOCODER_USER_AGENT="dawarich-mcp/0.3.0 contact=you@example.com"

You can also point it at another compatible reverse geocoder:

$env:DAWARICH_GEOCODER_URL="https://your-geocoder.example.com/reverse"

Example Prompts

Nacti detail cesty 12725 a rekni mi start, cil a kolik mela bodu.
Exportuj cestu 12725 jako GeoJSON.
Geolokuj souradnice 49.7281335, 13.3269319.
Vypis moje pracovni cesty za minuly tyden jako jednoduchou tabulku:
pondeli Chudenice -> Plzen, utery Chudenice -> Rybitvi.
Pouzij dawarich_summarize_journeys s weekdays_only=true, modes=["driving"] a include_markdown=true.

Add To Codex

From this folder:

codex mcp add dawarich `
  --env DAWARICH_URL="https://your-dawarich.example.com" `
  --env DAWARICH_API_KEY="replace-with-your-api-key" `
  -- node C:\Users\zilvar\Documents\Codex\2026-08-06\najd\outputs\dawarich-mcp\src\server.js

Then restart Codex or the ChatGPT desktop app. Use /mcp to confirm the server is connected.

Test With Inspector

npm run inspect

Notes

This server intentionally exposes read-only tools only. Add write tools, such as visit updates or merges, only after confirming the read flow works and you are comfortable letting an assistant modify location-history data.

Available Tools

9 tools
dawarich_export_trackExport Dawarich trackA
Read-only

Downloads one Dawarich journey and returns it as compact JSON, GeoJSON LineString, or CSV.

Inputs: track_id (required), format.

dawarich_get_statsGet Dawarich statsA
Read-only

Returns aggregated Dawarich statistics such as total distance, tracked points, countries, cities, and yearly breakdowns.

Inputs: no named parameters.

dawarich_get_timelineGet Dawarich timelineA
Read-only

Returns day-by-day timeline data with visits, tracks, and photos. Dawarich supports a maximum date range of 31 days.

Inputs: end_at (required), start_at (required).

dawarich_get_track_detailGet Dawarich track detailA
Read-only

Returns a compact detail for one Dawarich journey: start/end points, endpoint labels, bounding box, duration, and optional sampled points.

Inputs: track_id (required), max_points, include_points.

dawarich_get_track_pointsGet Dawarich track pointsA
Read-only

Returns location points for a specific Dawarich track, ordered by timestamp ascending.

Inputs: track_id (required).

dawarich_list_pointsList Dawarich pointsA
Read-only

Lists raw tracked location points for a date range. Use this for today's activity when timeline or visits are empty.

Inputs: page, slim, order, end_at, +4 more.

dawarich_list_visitsList Dawarich visitsA
Read-only

Lists visits from Dawarich. Optional filters are passed through as query parameters when provided.

Inputs: end_at, status, start_at.

dawarich_reverse_geocodeReverse geocode GPS coordinatesA
Read-only

Converts GPS coordinates to an address using the configured reverse geocoder. Defaults to OpenStreetMap Nominatim unless DAWARICH_GEOCODER_URL is set.

Inputs: latitude (required), longitude (required), zoom, language.

dawarich_summarize_journeysSummarize Dawarich journeysA
Read-only

Returns a simple human-readable trip table for a date range, including weekday, from-to places, time, distance, mode, and track ID.

Inputs: end_at (required), start_at (required), modes, weekdays_only, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct data type or operation: stats aggregates, timeline summarizes days, visits identifies places, track points and list points differ by scope, track detail is a compact overview, export transforms, reverse geocode converts coordinates, and summarize_journeys creates a trip table. Even the two point-related tools are clearly separated by whether they target a specific track or a date range.

    Naming Consistency5/5

    All tools follow the consistent pattern dawarich_<verb>_<noun>. Verbs are either get, list, export, reverse, or summarize, making the action easy to predict. No camelCase or mixed conventions are present.

    Tool Count5/5

    With 9 tools, the server is well-scoped for a location history integration. Each tool covers a meaningful query or export need without unnecessary redundancy or bloat.

    Completeness4/5

    The server covers the main read-side workflows: overview stats, timelines, visits, raw points, track details, export in multiple formats, geocoding, and journey summaries. A minor gap is the lack of a direct photo retrieval tool despite timeline mentioning photos, and no write operations, but that appears outside the intended read-only scope.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Exposes read-only location history and related data from Dawarich via MCP tools, designed to run behind an OAuth-terminating proxy.
      -
    • A
      license
      B
      quality
      C
      maintenance
      MCP server for local fitness-data extraction and analysis from Garmin Connect, Intervals.icu, and Strava. Provides read-only analytical tools over DuckDB and targeted Strava enrichment.
      35
      164 npm
      1
      AGPL 3.0