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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。