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: mcp-gbif

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.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Enables AI assistants to query and retrieve biodiversity data from the Global Biodiversity Information Facility (GBIF), including species, occurrences, datasets, and literature.
      58
      92 npm
      MIT
    • 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.
      153 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.
      127 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.
      326 npm
      MIT