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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。