Metadata-Version: 2.4
Name: nc-mcp
Version: 0.1.1
Summary: MCP Server for NetCDF format file
Author-email: John Li <seraphme1234@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/HanchaoLi/nc-mcp
Project-URL: Repository, https://github.com/HanchaoLi/nc-mcp
Project-URL: Issues, https://github.com/HanchaoLi/nc-mcp/issues
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: build>=1.3.0
Requires-Dist: fastmcp>=2.11.3
Requires-Dist: netcdf4>=1.7.2
Requires-Dist: numpy>=2.3.2
Requires-Dist: pytest>=8.4.1
Requires-Dist: twine>=6.1.0
Dynamic: license-file

# NetCDF Explorer MCP Server

A simple MCP server for exploring and analyzing netCDF files.
## Features

- 📁 List all the nc files in a directory.
- 🔍 Get the structure information of a netCDF file (dimensions, variables, attributes).
- 📊 Read variable data (support slicing and sampling to avoid memory overflow).
- ⏰ Extract time series data.
- 🔎 Search for variables and attributes.
- 📋 Provide variable summaries as resources.

## Installation

### Install dependency

```bash
pip install fastmcp netCDF4 numpy
