Oceanum MCP
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Oceanum MCPsearch for sea surface temperature datasets in the North Atlantic"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Oceanum MCP
An MCP server package that provides AI assistants with access to the Oceanum platform for ocean/environmental data and cloud storage.
Servers
This package contains multiple MCP servers, selectable at runtime:
Server | Description |
| Search, query, and manage ocean/environmental datasets |
| List, read, write, and delete files in Oceanum cloud storage |
| All tools from both servers under a single endpoint (default) |
Related MCP server: ERDDAP MCP Server
Prerequisites
Get an API token from oceanum.io. Set it as the DATAMESH_TOKEN environment variable.
Installation
pip install oceanum-mcpOr run directly with uvx:
uvx oceanum-mcp # combined server (default)
uvx oceanum-mcp datamesh # datamesh only
uvx oceanum-mcp storage # storage only
uvx oceanum-mcp --list # show available serversConfiguration
Claude Desktop
Add to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Combined server (all tools):
{
"mcpServers": {
"oceanum": {
"command": "uvx",
"args": ["oceanum-mcp"],
"env": {
"DATAMESH_TOKEN": "your-token-here"
}
}
}
}Individual server (datamesh only):
{
"mcpServers": {
"oceanum-datamesh": {
"command": "uvx",
"args": ["oceanum-mcp", "datamesh"],
"env": {
"DATAMESH_TOKEN": "your-token-here"
}
}
}
}Claude Code
# Combined server
claude mcp add --transport stdio oceanum -- uvx oceanum-mcp
# Individual server
claude mcp add --transport stdio oceanum-datamesh -- uvx oceanum-mcp datameshSet the token in your environment:
export DATAMESH_TOKEN=your-token-hereVS Code / Cline / Continue
Use stdio transport with the same command:
{
"command": "uvx",
"args": ["oceanum-mcp"],
"env": {
"DATAMESH_TOKEN": "your-token-here"
}
}Environment Variables
Variable | Required | Description |
| Yes | Oceanum API token (shared by all servers) |
| No | Custom datamesh service URL (default: |
| No | Custom storage service URL (default: |
| No | Override the base domain for all services (default: |
| No | Set to |
| No | Max staged result size returned inline by |
| No | If set, |
Datamesh Tools
The intended workflow is: search_catalog → get_datasource_info → stage_query
(dry run: learn the result size without downloading) → query_data for small
results inline, or export_query to write large results to a file that analysis
code reads directly.
search_catalog
Search the Datamesh catalog with optional text search, time range, and bounding box filters.
Returns a JSON object with count and results; if count equals limit, more matches may exist.
Parameter | Type | Description |
| string | Text search for name, description, or tags |
| string | ISO 8601 start time |
| string | ISO 8601 end time |
| list[float] | Bounding box |
| int | Max results to return (default 20) |
get_datasource_info
Get full metadata for a datasource including schema, variables, coordinates, and attributes.
Parameter | Type | Description |
| string | Datasource ID |
stage_query
Dry-run a query on the Datamesh gateway: reports the result size, container
type, and domain length without downloading any data, echoes the canonical
query, and recommends the next step (inline query vs export vs narrowing).
Accepts the same query parameters as query_data.
query_data
Query a datasource with filters and return small results inline as
coordinate-attributed JSON records with explicit truncated/lazy flags.
The query is staged first: gridded results above the inline limit are
summarized lazily (structure only); tabular results above the limit are
refused with the staged size and alternatives. Library warnings (e.g. the
2,000,000-row cap on tabular queries) are included in the response.
Parameter | Type | Description |
| string | Datasource to query |
| list[string] | Variables to select |
| string | ISO 8601 start of a time range (open-ended if omitted) |
| string | ISO 8601 end of a time range (open-ended if omitted) |
| list[string] | Discrete times (series selection); excludes |
| string | Server-side temporal downsampling (pandas frequency, e.g. |
| string | Resampling method for |
| list[float] | Bounding box |
| object | GeoJSON Feature (Point, MultiPoint, or Polygon) for selection |
| string | Interpolation for feature selection: nearest or linear |
| float | Max spatial resolution for downsampling, in CRS units |
| float | Minimum vertical level |
| float | Maximum vertical level |
| list[float] | Discrete vertical levels (series selection) |
| string | Interpolation for level series: nearest or linear |
| list[object] | Coordinate selections: |
| string/int | CRS for filter coordinates and returned data |
| list[string] | Aggregation ops: mean, min, max, std, sum |
| bool | Aggregate over spatial dims (default true) |
| bool | Aggregate over temporal dims (default true) |
| int | Max rows to return |
export_query
Run a query and write the full result to a local file — the data-handle
path for results too large to return inline. Gridded datasets stream lazily to
NetCDF; tabular results write Parquet or CSV. Accepts the same query
parameters as query_data plus:
Parameter | Type | Description |
| string | Destination file path (parent directories are created) |
| string |
|
| bool | Overwrite an existing file (default false) |
load_datasource
Summarize an entire datasource. Gridded datasources are opened lazily (no data download); tabular datasources are downloaded only if under the inline size limit.
Parameter | Type | Description |
| string | Datasource to load |
update_metadata
Update metadata on an existing datasource. Only provided fields are changed.
Disabled when the server runs with OCEANUM_MCP_READ_ONLY set.
Parameter | Type | Description |
| string | Datasource to update |
| string | New name |
| string | New description |
| list[string] | New tags |
| list[string] | New labels |
| object | Additional metadata object |
| string | URL for datasource details |
Storage Tools
list_files
List files and directories in Oceanum cloud storage.
Parameter | Type | Description |
| string | Directory path to list (default: "/") |
| bool | List subdirectories recursively |
file_exists
Check if a file or directory exists in storage.
Parameter | Type | Description |
| string | Path to check |
read_file
Read the contents of a text file from storage.
Parameter | Type | Description |
| string | Path to the file |
write_file
Write text content to a file in storage.
Parameter | Type | Description |
| string | Destination path |
| string | Text content to write |
delete_file
Delete a file or directory from storage.
Parameter | Type | Description |
| string | Path to delete |
| bool | Delete directory contents recursively |
file_info
Get metadata about a file or directory.
Parameter | Type | Description |
| string | Path to inspect |
Example Workflows
Discover wave data in the Pacific:
search_catalog(search="wave", bbox=[120, -50, 180, 10])get_datasource_info(datasource_id="some-wave-dataset")stage_query(datasource_id="some-wave-dataset", variables=["Hs", "Tp"], time_start="2024-01-01", time_end="2024-01-31")to check the result sizequery_data(...)with the same parameters if small, orexport_query(..., path="waves.nc")if large
Shrink a 40-year hourly time series to something inline-sized:
stage_query(datasource_id="hindcast", variables=["Hs"], time_start="1984-01-01", time_end="2024-01-01")— too largequery_data(..., time_resolution="1MS", time_resample="mean")— monthly means, small enough to return inline
Browse and read files in cloud storage:
list_files(path="/")to see top-level contentslist_files(path="/my-project", recursive=True)to drill downread_file(path="/my-project/config.json")to read a file
Get a quick summary of a dataset:
get_datasource_info(datasource_id="my-dataset")to see variables and time rangequery_data(datasource_id="my-dataset", limit=10)to preview the data
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/oceanum-io/oceanum-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server