Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

aimarket-mcp-server

MCP Server for ai.market - Search, evaluate, and purchase datasets

ai.marketclaudedatasetsmarketplacemcp
Published9 Mar 2026
Direct dependencies6
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

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

VariableDescriptionDefault
AIMARKET_API_KEYYour ai.market API keyNone
AIMARKET_SANDBOXEnable sandbox modefalse
AIMARKET_BASE_URLAPI base URLProduction URL
AIMARKET_TIMEOUTRequest timeout (seconds)30

Getting an API Key

  1. Sign up at ai.market
  2. Go to Settings → API Keys
  3. Create a new API key
  4. 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

ToolDescription
search_datasetsSearch for datasets by natural language query
get_datasetGet detailed information about a dataset
evaluate_datasetGet schema, statistics, and compliance info
preview_datasetGet sample rows from a dataset

Transactions

ToolDescription
check_walletGet current wallet balance
purchase_datasetPurchase a dataset (requires confirmation)
list_ordersList your orders
get_order_dataGet download URL for purchased data

Utility

ToolDescription
verify_connectionTest 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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
httpx
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
httpx>=0.25.0runtime
mcp
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
mcp>=1.0.0runtime
pydantic
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pydantic>=2.0.0runtime
python-dotenv
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
python-dotenv>=1.0.0runtime
pytest-asyncio
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pytest-asyncio>=0.21.0; extra == "dev"runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
pytest>=7.0.0; extra == "dev"runtime

Distribution files

2 collected
aimarket_mcp_server-0.1.0-py3-none-any.whl

bdist_wheel · 8.84 KB · Python py3

Source file
aimarket_mcp_server-0.1.0.tar.gz

sdist · 7.23 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:14 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:3aa7c16ec970dbdf1076d9da080179a5369aaca02606bfe61a75c3cc55f084a1

Other collected versions

View all collected versions →