GnistAI GnistAI
Log in

BarentsWatch (Maritime)

Live AIS vessel tracking — position, speed, course, and voyage data.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Transport

Data source: BarentsWatch

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/barentswatch/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-barentswatch": {
      "url": "https://context.gnist.ai/mcp/barentswatch/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/barentswatch/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_vessel", "arguments": {"mmsi": 1}}}'

API REST API

API Root https://context.gnist.ai/rest/barentswatch/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/barentswatch/get_vessel?mmsi=1" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/barentswatch/get_vessel",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "mmsi": 1
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc barentswatch

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

get_vessel
Get the current position and details for a vessel by MMSI.
ParameterTypeRequiredDescription
mmsiintegerrequired9-digit Maritime Mobile Service Identity number (e.g. 257338000).
vessels_in_area
Get all vessels currently in a geographic area.
ParameterTypeRequiredDescription
bboxanyoptionalComma-separated bounding box 'lon_min,lat_min,lon_max,lat_max'.
port_nameanyoptionalNamed port (e.g. 'oslo', 'rotterdam', 'singapore', 'hamburg').
lon_minanyoptionalBounding box west edge.
lat_minanyoptionalBounding box south edge.
lon_maxanyoptionalBounding box east edge.
lat_maxanyoptionalBounding box north edge.
vessel_typeanyoptionalFilter by type: 'cargo', 'tanker', 'passenger', 'fishing', 'tug'.
limitintegeroptionalMaximum vessels to return (1–200, default 50). (default: 50)
get_vessel_track
Get the recent position history (track) for a vessel.
ParameterTypeRequiredDescription
mmsiintegerrequired9-digit MMSI number.
hoursintegeroptionalHow many hours of history to return (1–168, default 24). (default: 24)
search_vessel
Search for vessels by name (partial match).
ParameterTypeRequiredDescription
name_querystringrequiredVessel name or partial name (e.g. 'Stena', 'Nordic Eagle').
flaganyoptionalOptional country filter — ISO 2-letter code (e.g. 'NO', 'NL').
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related