by rasdaman
Rasdaman MCP Server: interact with rasdaman multidimensional array databases via natural language to list coverages, get
Connects LLMs to rasdaman multidimensional databases, allowing natural language queries on datacubes and satellite imagery through automatic WCS/WCPS translation.
Rasdaman MCP Server is an official MCP server published by rasdaman that provides AI assistants with tools and capabilities via the Model Context Protocol. Rasdaman MCP Server: interact with rasdaman multidimensional array databases via natural language to list coverages, get It is categorized under databases, analytics data.
You can install Rasdaman MCP Server in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Rasdaman MCP Server is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Enable Claude to query your database directly using natural language
Example
Ask 'Show me top 10 customers by revenue this month' and get SQL results instantly
Eliminate manual SQL writing for ad-hoc queries, get insights 10x faster
Generate complex reports and analytics without leaving conversation
Example
Analyze sales trends, cohort retention, user behavior patterns conversationally
Democratize data access—non-technical team members can query databases
Understand database structure, relationships, and data models
Example
'Explain the user_orders table schema and its relationships'
Onboard engineers faster, explore unfamiliar databases efficiently
Share your MCP server with the developer community
Rasdaman MCP Server has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Rasdaman MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
We evaluated Rasdaman MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.
Rasdaman MCP Server is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
According to our notes, Rasdaman MCP Server benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
We wired Rasdaman MCP Server into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
Strong directory entry: Rasdaman MCP Server surfaces stars and publisher context so we could sanity-check maintenance before adopting.
We evaluated Rasdaman MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.
Useful MCP listing: Rasdaman MCP Server is the kind of server we cite when onboarding engineers to host + tool permissions.
Rasdaman MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 34
This tool enables users to interact with rasdaman in a natural language context. By exposing rasdaman functionality as tools via the MCP protocol, an LLM can query the database to answer questions like:
The MCP server translates these tool calls into actual WCS/WCPS queries that rasdaman can understand and then returns the results to the LLM.
pip install rasdaman-mcp
First the connection from the MCP server to rasdaman needs to be configured, either through environment variables:
RASDAMAN_URL: URL for the rasdaman serverRASDAMAN_USERNAME: Username for authenticationRASDAMAN_PASSWORD: Password for authenticationor command-line arguments to the rasdaman-mcp tool:
--rasdaman-url: URL for the rasdaman server (default RASDAMAN_URL env variable or http://localhost:8080/rasdaman/ows).--username: Username for authentication (default RASDAMAN_USERNAME env variable or rasguest).--password: Sets the password for authentication (default RASDAMAN_PASSWORD env variable or rasguest).Then the MCP is ready to be used with an AI agent tool, in one of two modes: stdio (default) or http.
stdio ModeUsed for direct integration with clients that take over managing the server process and communicate with it through standard input/output.
Generally in your AI tool you need to specify the command to run rasdaman-mcp:
rasdaman-mcp --username rasguest --password rasguest --rasdaman-url "..."
Example for enabling it in gemini-cli:
gemini mcp add rasdaman-mcp "rasdaman-mcp --username rasguest --password rasguest"
Benefits:
http ModeThis mode starts a standalone Web server listening on a specified host/port, e.g:
rasdaman-mcp --transport http --host 127.0.0.1 --port 8000 --rasdaman-url "..."
The MCP server URL to be configured in your AI agent would be http://127.0.0.1:8000/mcp with transport streamable-http.
For example, for Mistral Vibe extend the config.toml with a section like this:
[[mcp_servers]]
name = "rasdaman-mcp"
transport = "streamable-http"
url = "http://127.0.0.1:8000/mcp/"
Benefits:
curl, Python scripts, web apps, other LLM clients) can interact with the tools.Once an AI agent is configured with access to rasdaman-mcp, it becomes capable of using several tools:
The following examples demonstrate the interaction with an AI agent using the rasdaman MCP server.





Clone the git repository:
git clone https://github.com/rasdaman/rasdaman-mcp.git
cd rasdaman-mcp/
Create a virtual environment (if you don't have one):
uv venv
Activate the virtual environment:
source .venv/bin/activate
Install from source:
uv pip install -e .
main.py): This script initializes the FastMCP application. It handles command-line arguments for transport selection, rasdaman URL,
username, and password. It then instantiates the RasdamanActions class and decorates its methods to expose them as tools.RasdamanActions Class (rasdaman_actions.py): Encapsulates all interaction with the rasdaman WCS/WCPS endpoints.
It is initialized with the server URL and credentials, and its methods contain the logic for listing coverages, describing them, and executing queries.wcps_crash_course.py): A short summary of the syntax of WCPS, allowing LLMs to generate more accurate queries.The following methods are exposed as tools:
list_coverages(): Lists all available datacubes.describe_coverage(coverage_id): Retrieves metadata for a specific datacube.wcps_query_crash_course(): Returns a crash course on WCPS syntax with examples and best practices.execute_wcps_query(wcps_query): Executes a raw WCPS query and returns a result either directly as a string (scalars or small json), or as a filepath.To build the documentation:
# install dependencies
uv pip install '.[docs]'
sphinx-build docs docs/_build
You can then open docs/_build/index.html in the browser.
To run the tests:
# install dependencies
uv pip install '.[tests]'
pytest
Interacting with the standalone HTTP server manually requires a specific 3-step process using curl.
The fastmcp protocol is stateful and requires a session to be explicitly initialized.
First, send an initialize request. This will return a 200 OK response and, most importantly,
a session ID in the mcp-session-id response header (needed in the next steps).
curl -i -X POST \
-H "Accept: text/event-stream, application/json" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": { "name": "curl-client", "version": "1.0.0" }
},
"id": 1
}' \
"http://127.0.0.1:8000/mcp"
Next, send a notification to the server to confirm the session is ready. Use the session ID from Step 1 in the mcp-session-id header.
This request will not produce a body in the response.
SESSION_ID="<YOUR_SESSION_ID>"
curl -X POST \
-H "Accept: text/event-stream, application/json" \
-H "Content-Type: application/json" \
-H "Mcp-Session-Id: $SESSION_ID" \
-d '{
"jsonrpc": "2.0",
"method": "notifications/initialized"
}' \
"http://127.0.0.1:8000/mcp"
Finally, you can call a tool using the tools/call method. The params object must contain the name of the tool and
an arguments object with the parameters for that tool. The server will respond with the result of the tool call in a JSON-RPC response.
SESSION_ID="<YOUR_SESSION_ID>"
# Example: Calling the 'list_coverages' tool
curl -X POST \
-H "Accept: text/event-stream, application/json" \
-H "Content-Type: application/json" \
-H "Mcp-Session-Id: $SESSION_ID" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "list_coverages",
"arguments": {}
},
"id": 2
}' \
"http://127.0.0.1:8000/mcp"
Run data quality queries to catch anomalies and inconsistencies
Example
Find duplicate records, missing values, orphaned foreign keys automatically
Maintain data integrity with less manual SQL work
Prerequisites
Time Estimate
15-30 minutes including configuration and testing
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
MCP server acts as bridge between Claude and database, translating natural language to SQL queries and returning results in structured format.
Protocols
Compatibility
✓ Use when
Use for ad-hoc data queries, exploratory analysis, report generation, schema exploration, and democratizing data access. Best for read-heavy analytics workloads.
✗ Avoid when
Avoid for production write operations, mission-critical transactions, real-time OLTP workloads, or when database contains sensitive PII without proper access controls. Use read replicas, not primary.