rasdaman
An MCP server for querying rasdaman with natural language.
claude mcp add --transport stdio rasdaman-rasdaman-mcp python -m rasdaman_mcp \ --env RASDAMAN_URL="URL for the rasdaman server" \ --env RASDAMAN_PASSWORD="Password for authentication" \ --env RASDAMAN_USERNAME="Username for authentication"
How to use
The Rasdaman MCP server exposes Rasdaman functionality to a large language model via the MCP protocol. It translates natural language prompts into Rasdaman WCS/WCPS queries and returns results to the caller. With this server, you can list available datacubes, retrieve metadata for a specific datacube, and execute WCPS-like queries to perform analytics or produce new imagery. Use the provided tools through either a standard input/output (stdio) integration or via an HTTP API, depending on how you launch the server.
To use, configure the Rasdaman connection either through environment variables (RASDAMAN_URL, RASDAMAN_USERNAME, RASDAMAN_PASSWORD) or via the command-line options when starting rasdaman-mcp. Once started, the MCP server exposes tools such as list_coverages, describe_coverage, and execute_wcps_query. An AI agent can then call these tools by name, passing the required arguments, and receive structured results or data file paths suitable for downstream visualization or processing.
How to install
Prerequisites:
- Python 3.8+ and pip
- Access to install Python packages (internet connection)
Installation steps:
-
Create and activate a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate
-
Install the Rasdaman MCP package from PyPI:
pip install rasdaman-mcp
-
Run the MCP server (example using stdio mode):
rasdaman-mcp --rasdaman-url "http://localhost:8080/rasdaman/ows" --username rasguest --password rasguest
-
Alternatively, run in HTTP mode (standalone server):
rasdaman-mcp --transport http --host 0.0.0.0 --port 8000 --rasdaman-url "http://localhost:8080/rasdaman/ows" --username rasguest --password rasguest
Note: You can also configure the connection via environment variables RASDAMAN_URL, RASDAMAN_USERNAME, and RASDAMAN_PASSWORD.
Additional notes
Tips and considerations:
- If you encounter authentication errors, verify that the Rasdaman URL is correct and that the provided credentials have access to the required datacubes.
- When running in HTTP mode, ensure the selected host/port are exposed to your environment and any firewalls allow inbound connections.
- The MCP tools exposed by rasdaman_mcp include: list_coverages(), describe_coverage(coverage_id), and execute_wcps_query(wcps_query). Use these to build natural language prompts that map to RS-based queries.
- For development, running in editable or source mode is fine, but for production consider containerizing the server and using a reverse proxy for the HTTP endpoint.
Related MCP Servers
mcp-agent
Build effective agents using Model Context Protocol and simple workflow patterns
PPTAgent
An Agentic Framework for Reflective PowerPoint Generation
web-agent-protocol
🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
amazon
Amazon MCP server to search & buy products using the L402
packt-netops-ai-workshop
🔧 Build Intelligent Networks with AI
AI-SOC-Agent
Blackhat 2025 presentation and codebase: AI SOC agent & MCP server for automated security investigation, alert triage, and incident response. Integrates with ELK, IRIS, and other platforms.