fisheries-data
This server exposes fisheries and marine data discovery plus targeted retrieval through an AI/MCP client.
List connected data sources and their current coverage.
Search FishStat aquatic species or species groups by name/code.
Retrieve annual FishStat production tonnes by country/area for a species/group, filtering all, capture, or aquaculture, with optional exact ASFIS species code and CSV export.
Fetch weekly mean adult female salmon lice for a Norwegian aquaculture locality and year via BarentsWatch.
Search the live Copernicus Marine catalogue for ocean variables and dataset IDs.
Describe Copernicus Marine datasets: variables, units, coverage, version, and product DOI.
Download bounded Copernicus Marine subsets by dataset, variable, bounding box, and start/end dates as NetCDF, Zarr, or CSV with provenance.
Click on "Deploy 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., "@fisheries-data Which countries produced oysters in 2024 and how many tonnes each? Include aquaculture and capture."
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.
Fisheries Data MCP
A local Model Context Protocol server that connects your AI client to fisheries and marine data sources. Ask a research question, find relevant datasets, and download files with their units, structure and source information. Statistical analysis and joining datasets remain part of your research workflow.
How to install · Update Codex (Windows) · Data coverage · FAQ · Technical reference
Current coverage
Source | What you can retrieve | Access |
FAO FishStat | Capture and aquaculture production quantities; aquaculture production values | No account required |
BarentsWatch | Norwegian aquaculture sites, lice, temperature, treatments, diseases, escapes, permitted capacity and site details | BarentsWatch API client ID and secret |
Copernicus Marine | Ocean datasets selected by variable, geographic area and dates | Copernicus Marine account for downloads |
UN Comtrade | Annual or monthly goods trade by country, partner, HS product and flow | Free API subscription key required for downloads |
The catalogue also describes collections whose downloads are not implemented. These are marked catalogue_only; entries with download tools are marked downloadable. Availability still depends on the requested species, place, period and your access.
Related MCP server: ERDDAP MCP Server
How to install
These steps use Windows PowerShell, with Codex or Claude Code already installed and signed in. You do not need a GitHub account or the FishStat desktop application.
1. Install Python
If you do not have Python 3.11 or newer, run:
winget install --id Python.Python.3.13 -eClose and reopen PowerShell. If WinGet is unavailable, use the Python Windows installer.
2. Download or clone the repository
Without Git: select Code → Download ZIP on the repository page, extract the ZIP, and open PowerShell in the extracted folder containing install.py.
With Git:
git clone https://github.com/adamsconchallos/fisheries-data-mcp.git
cd fisheries-data-mcp3. Install the MCP server
From that folder, run:
py -3 install.pyThe installer prepares the server, creates .env and mcp-config.json, and prints the absolute executable path. Existing credentials are preserved.
4. Connect your AI client
Codex in VS Code: open ⚙️ → MCP servers → Add server, enter the following and save:
Name:
fisheries-dataType: STDIO
Command: the executable path printed by the installer
Arguments: leave empty
Claude Code: run from the repository folder:
$mcpExe = (Resolve-Path ".venv\Scripts\fisheries-data-mcp.exe").Path
claude mcp add --scope user --transport stdio fisheries-data -- "$mcpExe"Cowork: this repository does not yet provide its required plugin or remote connection. Use one of the clients above or Claude Desktop Chat.
5. Add your credentials
In the repository folder, open:
notepad .envFill in the sources you will use and leave the others blank:
BARENTSWATCH_CLIENT_ID=your_client_id
BARENTSWATCH_CLIENT_SECRET=your_client_secret
COPERNICUSMARINE_SERVICE_USERNAME=your_username
COPERNICUSMARINE_SERVICE_PASSWORD=your_password
UN_COMTRADE_API_KEY=your_subscription_keySave .env beside install.py. FishStat needs no credentials. UN Comtrade downloads require each user's own free API subscription key; reference-code searches remain public. Obtain the other credentials by registering a BarentsWatch API client or creating a Copernicus Marine account.
6. Restart and ask
Restart the Codex extension or close and reopen Claude Code. Start a conversation:
Use Fisheries Data MCP. I want to study salmon production, production value and sea lice in Norway. Which datasets could help? Explain their periods, units and observation levels, and tell me which ones you can download.
Downloads are saved by default to ~/fisheries-data-mcp/exports with source metadata.
For macOS/Linux, other clients and configuration options, see the detailed installation guide.
Update the MCP in Codex (Windows)
These steps update the existing installation in C:\Users\adams\research\fisheries-data-mcp, which Codex already uses. If you cloned the repository elsewhere, change the path in the first command.
Close VS Code and Codex to release the MCP executable. Open a separate PowerShell window.
Run these commands in order:
Set-Location 'C:\Users\adams\research\fisheries-data-mcp' git pull --ff-only py -3 install.pyOpen the credentials file with
notepad .env. Add this line with your UN Comtrade key, then save the file:UN_COMTRADE_API_KEY=your_keyIf the variable already exists, update its value instead of adding a duplicate.
Reopen VS Code and Codex. The
search_comtrade_referenceandcomtrade_trade_recordstools should appear.
The installer preserves .env and your existing keys. You do not need to change the MCP configuration because Codex still uses the executable in the same folder.
Documentation
FAQ: example requests, GitHub basics, updates and troubleshooting.
Technical reference: tools, output formats, units, limitations and developer checks.
FAO inventory notes and BarentsWatch inventory notes: catalogue coverage and verification evidence.
Available Tools
7 toolsbarentswatch_lice_by_localityA
Retrieve weekly mean adult female salmon lice for a Norwegian aquaculture locality and year.
Inputs: year (required), locality_id (required).
describe_copernicus_datasetA
Describe a Copernicus Marine dataset's variables, units, coverage, version and product DOI before choosing a subset.
Inputs: dataset_id (required).
fishstat_production_by_countryA
Find annual production tonnes by FAO country/area for an aquatic species or group; export a CSV. Source: all, capture or aquaculture. Optionally set an exact ASFIS species_code. The weight basis depends on the species group.
Inputs: year (required), query (required), source, species_code.
list_data_sourcesA
List connected sources and their coverage so the assistant can choose the right one.
Inputs: no named parameters.
search_copernicus_datasetsB
Search live Copernicus Marine catalogue for ocean variables and dataset IDs.
Inputs: query (required), limit.
search_fishstat_speciesB
Find FishStat aquatic species or species groups by name or code, including oysters/ostras.
Inputs: query (required), limit.
subset_copernicus_datasetB
Download a bounded Copernicus Marine subset by dataset, variable, bounding box and dates. Returns a local NetCDF, Zarr or CSV file with provenance.
Inputs: end (required), east (required), west (required), north (required), +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool maps to a distinct action/resource: source listing, FishStat species lookup, production query, Barentswatch lice retrieval, and Copernicus search/describe/subset. The only mild adjacency is the two FishStat tools, but search versus production are clearly separated.
Most tools use verb_noun (list/search/describe/subset), but fishstat_production_by_country and barentswatch_lice_by_locality are noun phrases with source prefixes and no verb. This is a readable mixed convention, not chaotic, but it prevents a consistent pattern.
Seven tools cover three distinct data domains (FishStat, Barentswatch, Copernicus), plus source discovery without redundancy. The count is appropriate for a multi-source fisheries data server.
Copernicus is well covered with search/describe/subset, and FishStat covers species lookup plus production by source type. The Barentswatch integration is a single narrow endpoint retrieval, so the overall surface is somewhat thin on that source, but there are no critical dead ends for the advertised workflows.
Maintenance
Related MCP Connectors
Query, explore, and manage your databases through natural conversation.
Discover, resolve, and query official Brazilian economic data with semantic search and provenance.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Ask questions in plain language, get answers from your business database. No SQL required.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to FishBase marine biology data including species information, ecological data, distribution records, and morphological details. Enables species name validation and conversion between common and scientific names through natural language queries.8MIT
- FlicenseNot gradedqualityDmaintenanceAccess oceanographic and environmental data from 63+ ERDDAP servers worldwide through natural language queries. Search datasets, retrieve metadata, and download scientific data for climate research, marine biology, and coastal management.18-
- AlicenseBqualityCmaintenanceEnables natural language querying of oceanographic data from the NES-LTER API, including CTD profiles, cruise datasets, and station information.10MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to work with Copernicus Marine ocean data through semantic tools for dataset discovery, metadata retrieval, recommendation, validation, point time-series extraction, area statistics, subsetting, and computation without exposing raw API plumbing.-