How to Integrate Marine Alerts into Applications with Copilot
Integrate marine weather alerts into nautical apps with Copilot and ToolRouter.
ToolOcean & TidesCopilot brings structured marine alert data into your development environment for building nautical safety apps, marina notification systems, and voyage planning tools. The alert schema is consistent and well-structured for integration into existing maritime platforms.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Ocean & Tides tool:
- In Copilot Chat: "Get marine weather alerts for UK coastal waters using ocean-data"
- Copilot returns structured alert data with area, type, and severity fields
- Ask: "Write a function that filters alerts relevant to a given sea area"
- Request: "Generate a push notification payload from the most severe active alert"
Example Prompt
Try this with Copilot using the Ocean & Tides tool
Fetch current marine alerts for UK coastal waters and return as JSON. Include alert type, affected area, severity level, and issue time for each active warning.
Tips
- Build sea area filtering based on the standard Met Office sea area names
- Cache alerts with a 30-minute TTL and trigger re-fetches on user voyage plan changes
- Use severity as the primary sort key to ensure the most critical warnings appear first