Dawarich MCP
Enables interaction with Dawarich location history through tools for maps, stats, places, visits, points, and trip workflows.
README
Dawarich MCP
Disclaimer: This project is a work in progress and was vibe-coded without much of a plan. Treat it as experimental until the API surface and behavior have been reviewed more deliberately.
FastMCP server for Dawarich location history.
The server exposes LLM-friendly tools and resources for maps, stats, places, visits, points, and trip workflows. Dawarich currently does not expose /api/v1/trips, so trip mutation tools return a clear unsupported-capability response until those routes exist.
Configuration
Required:
DAWARICH_BASE_URL: Dawarich base URL, for examplehttp://dawarich.dawarich.svc.cluster.local:3000DAWARICH_API_KEY: Dawarich user API key
Optional:
DAWARICH_AUTH_MODE:bearerorquery, defaultbearerDAWARICH_HOST_HEADER: optional HTTPHostheader for deployments that call an internal service URL while Dawarich only allows the public app hostDAWARICH_FORWARDED_PROTO: optionalX-Forwarded-Protoheader, for examplehttpswhen Dawarich forces HTTPS behind a proxyDAWARICH_TIMEOUT_SECONDS: default30DAWARICH_MAX_PAGE_SIZE: default500MCP_TRANSPORT:stdioorhttp, defaultstdiooutside the containerMCP_HOST: default127.0.0.1MCP_PORT: default8000
Local Development
uv --cache-dir /tmp/uv-cache-dawarich-mcp run --extra dev pytest
uv --cache-dir /tmp/uv-cache-dawarich-mcp run --extra dev ruff check .
Run over stdio:
DAWARICH_BASE_URL=https://timeline.example.test \
DAWARICH_API_KEY=... \
uv run dawarich-mcp --transport stdio
Run over HTTP:
DAWARICH_BASE_URL=https://timeline.example.test \
DAWARICH_API_KEY=... \
uv run dawarich-mcp --transport http --host 127.0.0.1 --port 8000
HTTP MCP endpoint: http://127.0.0.1:8000/mcp
Health endpoint: http://127.0.0.1:8000/health
Kubernetes Shape
The intended cluster deployment is internal only:
- Namespace:
dawarich - Service:
dawarich-mcp - URL:
http://dawarich-mcp.dawarich.svc.cluster.local:8000/mcp - No IngressRoute
- Dawarich API URL:
http://dawarich.dawarich.svc.cluster.local:3000
Store the API key in a Kubernetes Secret. Do not commit it.
automated-setups expects the secret at:
namespace: dawarich
name: dawarich-mcp-secret
key: api-key
The image build and deployment can be run separately:
# Build the configured localhost/dawarich-mcp image into Spark's k8s.io containerd namespace.
direnv exec . env ANSIBLE_LOCAL_TEMP=/tmp/ansible-local TMPDIR=/tmp \
venv/bin/ansible-playbook -i inventory/k8s_cluster/inventory.ini \
playbooks/cluster/applications.yml --tags dawarich-mcp-build
# Apply the internal-only Deployment and ClusterIP Service.
direnv exec . env ANSIBLE_LOCAL_TEMP=/tmp/ansible-local TMPDIR=/tmp \
venv/bin/ansible-playbook -i inventory/k8s_cluster/inventory.ini \
playbooks/cluster/applications.yml --tags dawarich-mcp-deploy
The deploy tag refuses to apply the Deployment unless either
dawarich_mcp_api_key is set from Ansible Vault or the dawarich-mcp-secret
already exists in the dawarich namespace.
Safety
- Bearer auth is preferred so the Dawarich API key is not placed in URLs.
- Delete, merge, bulk update, and recalculation tools default to dry-run.
- Raw point reads are available but described as lower-level tools; prefer timeline, stats, and map context first.
- Trip tools intentionally do not scrape Dawarich HTML forms. They report the missing
/api/v1/tripsAPI instead.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.