Rockfish MCP Server
Enables interaction with the Rockfish AI platform for synthetic data generation, dataset management, and ML workflow orchestration through tools like TabGAN training and Manta analytics.
README
Rockfish MCP Server
A Model Context Protocol server that provides tools to interact with the Rockfish AI platform for synthetic data generation, dataset management, and ML workflow orchestration.
Available Tools
Rockfish API — databases, worker sets, workflows, models, projects, datasets, organizations (22+ tools)
SDK (Synthetic Data Generation)
obtain_train_config— generate training configuration with automatic column type detectionupdate_train_config— modify training hyperparameters or field classificationsstart_training_workflow— start TabGAN training workflowget_workflow_logs— stream workflow logs with configurable level and timeoutget_trained_model_id— extract trained model ID from completed workflowstart_generation_workflow— start generation workflow from trained modelobtain_synthetic_dataset_id— extract generated dataset ID from completed workflowplot_distribution— generate distribution plots comparing real and synthetic dataget_marginal_distribution_score— calculate similarity score between real and synthetic data
Manta (Analytics & Scenarios) — requires MANTA_API_URL
discover_schema— discover dataset schemagenerate_test_suite— generate test suitesexecute_query/execute_nl_query— run SQL or natural language queriesinject_scenario— inject test scenarios into datasets
Installation
Using uv (recommended)
When using uv no specific installation is needed. We will
use uvx to directly run rockfish-mcp.
Using pip
pip install rockfish-mcp
After installation, you can run it as a script using:
python -m rockfish_mcp.server
From source
git clone https://github.com/Rockfish-Data/rockfish-mcp.git
cd rockfish-mcp
python3.11 -m venv .venv
source .venv/bin/activate
- Install dependencies (choose one method):
Method A: Install with dev tools (recommended for contributors):
pip install -e ".[dev]" --find-links https://packages.rockfish.ai
Method B: Install from requirements.txt (exact locked versions):
pip install -r requirements.txt
Method C: Install runtime only (for production):
pip install -e . --find-links https://packages.rockfish.ai
- Set up environment variables:
cp .env.example .env
# Edit .env and add your Rockfish API key
Configuration
Create a .env file with your Rockfish API credentials:
ROCKFISH_API_KEY=your_api_key_here
ROCKFISH_API_URL=https://api.rockfish.ai
Optional settings:
ROCKFISH_ORGANIZATION_ID=your_organization_id_here
ROCKFISH_PROJECT_ID=your_project_id_here
MANTA_API_URL=https://manta.rockfish.ai
Usage with Claude Desktop
Add to your claude_desktop_config.json:
<details> <summary>Using uvx</summary>
{
"mcpServers": {
"rockfish": {
"command": "uvx",
"args": ["rockfish-mcp"],
"env": {
"ROCKFISH_API_KEY": "your_api_key_here",
"ROCKFISH_API_URL": "https://api.rockfish.ai"
}
}
}
}
</details>
<details> <summary>Using pip installation</summary>
{
"mcpServers": {
"rockfish": {
"command": "python",
"args": ["-m", "rockfish_mcp.server"],
"env": {
"ROCKFISH_API_KEY": "your_api_key_here",
"ROCKFISH_API_URL": "https://api.rockfish.ai"
}
}
}
}
</details>
<details> <summary>Using docker</summary>
{
"mcpServers": {
"rockfish": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "ROCKFISH_API_KEY", "-e", "ROCKFISH_API_URL", "rockfish-mcp"],
"env": {
"ROCKFISH_API_KEY": "your_api_key_here",
"ROCKFISH_API_URL": "https://api.rockfish.ai"
}
}
}
}
</details>
Usage with VS Code
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open User Settings (JSON).
Optionally, you can add it to a file called .vscode/mcp.json in your workspace.
Note that the
mcpkey is needed when using themcp.jsonfile.
<details> <summary>Using uvx</summary>
{
"mcp": {
"servers": {
"rockfish": {
"command": "uvx",
"args": ["rockfish-mcp"],
"env": {
"ROCKFISH_API_KEY": "your_api_key_here",
"ROCKFISH_API_URL": "https://api.rockfish.ai"
}
}
}
}
}
</details>
<details> <summary>Using pip installation</summary>
{
"mcp": {
"servers": {
"rockfish": {
"command": "python",
"args": ["-m", "rockfish_mcp.server"],
"env": {
"ROCKFISH_API_KEY": "your_api_key_here",
"ROCKFISH_API_URL": "https://api.rockfish.ai"
}
}
}
}
}
</details>
Debugging
You can use the MCP inspector to debug the server. For uvx installations:
npx @modelcontextprotocol/inspector uvx rockfish-mcp
Or if you've installed the package in a specific directory or are developing on it:
cd path/to/rockfish-mcp
npx @modelcontextprotocol/inspector .venv/bin/python -m rockfish_mcp.server
Development
Setup
Install with dev dependencies:
pip install -e ".[dev]" --find-links https://packages.rockfish.ai
Code Formatting
isort src/rockfish_mcp/ && black src/rockfish_mcp/
Running Tests
Unit tests (no credentials required):
pytest tests/test_manta_client.py tests/test_manta_tools.py
Integration tests (requires .env with real credentials):
pytest tests/
pytest --env=.env.prod.local --html=report.html --self-contained-html
Contributing
We encourage contributions to help expand and improve rockfish-mcp. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.
- Fork the repository
- Create a feature branch
- Make your changes
- Format your code with
isortandblack - Add tests if applicable
- Submit a pull request
For examples of other MCP servers and implementation patterns, see: https://github.com/modelcontextprotocol/servers
License
rockfish-mcp is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.