{
"mcpServers": {
"safecast-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An MCP (Model Context Protocol) server that exposes Safecast radiation monitoring data to AI assistants like Claude. The server provides 8 tools for querying radiation measurements, browsing sensor tracks, and accessing educational reference data.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 59 days ago.
Will it work with my client?
Transport: sse, http. Compatibility not confirmed.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Safecast Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP (Model Context Protocol) server that exposes Safecast radiation monitoring data to AI assistants like Claude. The server provides 8 tools for querying radiation measurements, browsing sensor tracks, and accessing educational reference data.
| Tool | Description |
|------|-------------|
| ping | Health check |
| query_radiation | Find measurements near a lat/lon coordinate |
| search_area | Search within a geographic bounding box |
| list_tracks | Browse bGeigie Import tracks by year/month |
| get_track | Get measurements from a specific track |
| device_history | Historical data from a monitoring device |
| get_spectrum | Gamma spectroscopy data for a measurement |
| radiation_info | Educational reference (units, safety levels, detectors, etc.) |
cd go
go build -o safecast-mcp ./cmd/mcp-server/
./safecast-mcp
The server listens on port 3333 by default.
| Variable | Required | Description |
|----------|----------|-------------|
| MCP_BASE_URL | No | Base URL advertised by the SSE transport so clients know where to POST messages back (default: http://localhost:3333). Must not include /mcp — the server appends that automatically. |
| DATABASE_URL | No | PostgreSQL connection string. If not set, uses the Safecast REST API. |
/mcp/sse (GET) and /mcp/message (POST)/mcp-http (POST)https://vps-01.safecast.jp/mcp-http
Claude / AI client
|
v
MCP Server (Go, mcp-go)
|
+---> PostgreSQL + PostGIS (primary, if DATABASE_URL set)
|
+---> api.safecast.org REST API (fallback)
The server uses mcp-go for MCP protocol support. All tools attempt a direct database query first and fall back to the Safecast REST API if no database is configured or the query fails.
go/cmd/mcp-server/
main.go # Server setup, tool registration, dual transport
api_client.go # Safecast REST API client
db_client.go # PostgreSQL connection pool (pgx)
reference_data.go # Static radiation reference data
tool_query_radiation.go
tool_search_area.go
tool_list_tracks.go
tool_get_track.go
tool_device_history.go
tool_get_spectrum.go
tool_radiation_info.go
cd go
go run ./cmd/mcp-server/
Cross-compile for Linux deployment:
cd go
GOOS=linux GOARCH=amd64 go build -o safecast-mcp ./cmd/mcp-server/
Pushing to main automatically builds and deploys to the VPS via GitHub Actions (only when files in go/ change).
/mcp-http endpointThe GitHub Action requires three repository secrets. Go to Settings > Secrets and variables > Actions and add:
| Secret | Description |
|--------|-------------|
| SSH_PRIVATE_KEY | SSH private key with access to the VPS (ed25519 format) |
| VPS_HOST | VPS hostname (e.g. vps-01.safecast.jp) |
| DATABASE_URL | PostgreSQL connection string |
To generate a deploy key:
ssh-keygen -t ed25519 -C "github-
... [View full README on GitHub](https://github.com/van-van-nguyen/safecast-mcp-server#readme)