Skip to main content
Glama

obis-mcp

CI Python 3.11+ License: MIT

A dedicated marine ecology and oceanography Model Context Protocol (MCP) server for the Ocean Biodiversity Information System (OBIS) API v3.

Fills the oceanic and pelagic data gap in terrestrial biodiversity collections (iNaturalist, eBird) by providing direct access to ocean depth profiling, World Register of Marine Species (WoRMS) classifications, and marine species occurrences.


Key Features

  • Bathymetric Depth Profiling: Classifies species observations across sunlight (epipelagic 0–200m), twilight (mesopelagic 200–1000m), and midnight (bathypelagic >1000m) oceanic zones.

  • Ocean Depth & Bathymetric Filtering: Query occurrences constrained by water column depth (min_depth and max_depth in meters), differentiating epipelagic, mesopelagic, bathypelagic, and benthic habitats.

  • WoRMS Taxonomic Authority: Resolve marine species names to official World Register of Marine Species (WoRMS) AphiaIDs and verify marine status.

  • Geographic Ocean Boundaries: Query marine biodiversity around offshore coordinates, marine protected areas, and coral reef ecosystems using polygon spatial filters.

  • Ocean Species Checklists: Survey dominant marine taxa recorded in oceanic quadrants.

  • Zero-Credential Access: Works out of the box using OBIS open REST API v3.


Related MCP server: global-fishing-watch

Available Tools

Tool

Description

get_marine_taxon

Look up WoRMS AphiaID and marine taxonomic classification for a species.

get_marine_depth_profile

Classify marine occurrences across oceanic bathymetric zones (0-200m, 200-1000m).

get_marine_environmental_parameters

Extract ocean salinity, water temperature, and dissolved oxygen profiles for a marine taxon.

get_ocean_area_statistics

Retrieve marine biodiversity statistics and occurrence totals for an oceanic basin or MPA.

search_marine_occurrences

Search ocean species occurrences with depth bounds and taxonomic filters.

marine_occurrences_nearby

Search marine records within a spatial polygon around ocean GPS coordinates.

get_marine_checklist

Retrieve a checklist of marine species observed around oceanic coordinates.


Installation & Usage

Running with uvx (Recommended)

uvx --from git+https://github.com/thesven/obis-mcp.git obis-mcp

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "obis": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/thesven/obis-mcp.git", "obis-mcp"]
    }
  }
}

Development & Quality Gate

# Run code formatting check
uv run ruff format --check src tests scripts

# Run linting
uv run ruff check src tests scripts

# Run test suite with strict coverage floor (>90%)
uv run pytest --cov=obis_mcp --cov-branch --cov-report=term-missing

# Build wheel and sdist
uv build

# Run package distribution check & smoke test
uv run python scripts/check_dist.py
uv run python scripts/smoke.py

License

MIT License. See LICENSE for details.

Available Tools

7 tools
get_marine_checklistC

Retrieve checklist of marine species observed around oceanic coordinates.

Inputs: lat (required), lon (required), limit, radius_km. Returns: object

get_marine_depth_profileC

Classify marine occurrences across oceanic bathymetric zones (0-200m, 200-1000m).

Inputs: scientific_name (required), aphia_id. Returns: object

get_marine_environmental_parametersC

Extract ocean salinity, water temperature, and dissolved oxygen profiles.

Inputs: scientific_name (required), aphia_id. Returns: object

get_marine_taxonB

Look up WoRMS AphiaID and marine taxonomic classification for a species.

Inputs: scientific_name (required). Returns: object

get_ocean_area_statisticsB

Retrieve marine biodiversity statistics and occurrence totals for an oceanic basin.

Inputs: area_name (required). Returns: object

marine_occurrences_nearbyC

Search marine records within a spatial polygon around ocean GPS coordinates.

Inputs: lat (required), lon (required), limit, radius_km, +1 more. Returns: object

search_marine_occurrencesC

Search ocean species occurrences with depth bounds and taxonomic filters.

Inputs: limit, aphia_id, max_depth, min_depth, +1 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 7 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: taxonomy lookup, checklist, area statistics, depth profile, and environmental parameters are easy to separate. The main overlap is between search_marine_occurrences and marine_occurrences_nearby, since both retrieve occurrence records and an agent may hesitate over which to use when spatial and taxonomic filters combine.

    Naming Consistency4/5

    Six of seven names use a readable verb_noun snake_case pattern (get_* or search_*), making the set mostly predictable. The exception is marine_occurrences_nearby, which drops the verb prefix, and the mixed use of 'marine' and 'ocean' introduces slight inconsistency.

    Tool Count5/5

    Seven tools is a well-scoped size for a specialized marine biodiversity server. Each tool maps to a distinct retrieval need, and there are no redundant or obviously excessive operations.

    Completeness4/5

    The surface covers core OBIS-style workflows: taxon lookup, occurrence search, spatial search, checklists, area statistics, depth classification, and environmental profiles. Minor gaps remain, such as direct retrieval of a specific occurrence record or dataset metadata, but agents can likely work around these through search results.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying biodiversity data from the Global Biodiversity Information Facility (GBIF) API v1, supporting species occurrence searches and other GBIF endpoints through natural language.
      64 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying Global Fishing Watch AIS data to search vessels by identity, retrieve at-sea events such as apparent fishing, encounters, loitering, port visits and AIS gaps, and generate aggregated apparent fishing effort reports by area, flag and gear type.
      114 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to resolve marine species names to OBIS taxon records, retrieve georeferenced ocean occurrence records with optional date filtering, and pull aggregate statistics such as record counts, contributing datasets, and observed year ranges. Queries the Ocean Biodiversity Information System keylessly over the Pipeworx gateway or as a local stdio server.
      74 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables keyless lookup of marine species and genus names, retrieval of full taxonomic lineages by AphiaID, and common vernacular names across languages via MCP tools.
      67 npm
      MIT