MCP Server for ai.market - Search, evaluate, and purchase datasets
Project description
ai.market MCP Server
MCP (Model Context Protocol) server for the ai.market data marketplace. Enables LLM clients like Claude Desktop, Cursor, and Cline to search, evaluate, and purchase datasets.
Features
- Search datasets by natural language query
- Get detailed information about datasets including schema, pricing, and compliance
- Preview sample data before purchasing
- Check wallet balance and manage funds
- Purchase datasets directly from your LLM client
- Access purchased data via signed download URLs
- Sandbox mode for testing without real charges
Installation
Option 1: Install from PyPI
pip install aimarket-mcp-server
Option 2: Install from source
git clone https://github.com/maxrobbins/aimarket-mcp-server.git
cd aimarket-mcp-server
pip install -e .
Configuration
Environment Variables
| Variable | Description | Default |
|---|---|---|
AIMARKET_API_KEY |
Your ai.market API key | None |
AIMARKET_SANDBOX |
Enable sandbox mode | false |
AIMARKET_BASE_URL |
API base URL | Production URL |
AIMARKET_TIMEOUT |
Request timeout (seconds) | 30 |
Getting an API Key
- Sign up at ai.market
- Go to Settings → API Keys
- Create a new API key
- Copy the key and set it as
AIMARKET_API_KEY
Sandbox Mode
For testing without real charges, enable sandbox mode:
export AIMARKET_SANDBOX=true
In sandbox mode:
- Uses mock datasets (5 sample datasets)
- $1,000 fake wallet balance
- No real purchases or charges
Claude Desktop Configuration
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"aimarket": {
"command": "python",
"args": ["-m", "aimarket_mcp.server"],
"env": {
"AIMARKET_API_KEY": "your_api_key_here"
}
}
}
}
Or for sandbox mode:
{
"mcpServers": {
"aimarket": {
"command": "python",
"args": ["-m", "aimarket_mcp.server"],
"env": {
"AIMARKET_SANDBOX": "true"
}
}
}
}
Then restart Claude Desktop.
Available Tools
Discovery
| Tool | Description |
|---|---|
search_datasets |
Search for datasets by natural language query |
get_dataset |
Get detailed information about a dataset |
evaluate_dataset |
Get schema, statistics, and compliance info |
preview_dataset |
Get sample rows from a dataset |
Transactions
| Tool | Description |
|---|---|
check_wallet |
Get current wallet balance |
purchase_dataset |
Purchase a dataset (requires confirmation) |
list_orders |
List your orders |
get_order_data |
Get download URL for purchased data |
Utility
| Tool | Description |
|---|---|
verify_connection |
Test API connection and credentials |
Usage Examples
Once configured, you can use natural language with Claude:
"Search for e-commerce transaction datasets"
"Show me the details for dataset 00000000-0000-0000-0000-000000000001"
"Check my wallet balance"
"Purchase the financial market dataset" (requires confirmation)
"List my recent orders"
Security
- API keys are never logged or exposed in tool outputs
- Purchase operations require explicit confirmation
- Sandbox mode prevents accidental real purchases
- All API communications use HTTPS
Development
# Clone the repository
git clone https://github.com/maxrobbins/aimarket-mcp-server.git
cd aimarket-mcp-server
# Create virtual environment
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest
License
MIT License - see LICENSE for details.
Support
- Documentation: docs.ai.market
- Issues: GitHub Issues
- Email: support@ai.market
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aimarket_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: aimarket_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd5c0a7b0b410de62d810ae8ea8a224101e1082788b7d0d388db645c50b52fab
|
|
| MD5 |
deda247e0fbe2c04e655f5bd23d34ab5
|
|
| BLAKE2b-256 |
972c52a888e51407e16b6eb0c60133a257da34367bf6fa06f1d5db5b78f3ec1c
|
Provenance
The following attestation bundles were made for aimarket_mcp_server-0.1.0.tar.gz:
Publisher:
publish.yml on aidotmarket/aimarket-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aimarket_mcp_server-0.1.0.tar.gz -
Subject digest:
cd5c0a7b0b410de62d810ae8ea8a224101e1082788b7d0d388db645c50b52fab - Sigstore transparency entry: 1065948104
- Sigstore integration time:
-
Permalink:
aidotmarket/aimarket-mcp-server@47fc80577d9ea87a6b181c4e18a7f51573e5316b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aidotmarket
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@47fc80577d9ea87a6b181c4e18a7f51573e5316b -
Trigger Event:
push
-
Statement type:
File details
Details for the file aimarket_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aimarket_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58cb0a750a4e514a77a47cb19912ca3e60250a406bc137b222a6a909194a5c3a
|
|
| MD5 |
d5b5e718fbe2de4eeb6d083a1f7b574e
|
|
| BLAKE2b-256 |
7db9db0fcddecf1485bae8007e8aea7323ebfeac41695301c3b89434d43de685
|
Provenance
The following attestation bundles were made for aimarket_mcp_server-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on aidotmarket/aimarket-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aimarket_mcp_server-0.1.0-py3-none-any.whl -
Subject digest:
58cb0a750a4e514a77a47cb19912ca3e60250a406bc137b222a6a909194a5c3a - Sigstore transparency entry: 1065948105
- Sigstore integration time:
-
Permalink:
aidotmarket/aimarket-mcp-server@47fc80577d9ea87a6b181c4e18a7f51573e5316b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/aidotmarket
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@47fc80577d9ea87a6b181c4e18a7f51573e5316b -
Trigger Event:
push
-
Statement type: