AIMarket MCP Gateway
Hardened web fetch and search plus a pay-per-call AI capability market over MCP
AIMarket MCP Gateway is a freemium MCP server for web search and scraping. It can run locally on your machine or as a hosted remote server.
- Pricing
- Freemium
- Platforms
- CLI, Self-hosted, API
- Runs
- Locally or Remotely
- Version
- 0.6.4
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add aimarket-mcp --env AIMARKET_METIS_KEY='<AIMARKET_METIS_KEY>' --env AIMARKET_API_KEY='<AIMARKET_API_KEY>' -- uvx aimarket-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"aimarket-mcp": {
"command": "uvx",
"args": [
"aimarket-mcp"
],
"env": {
"AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>",
"AIMARKET_API_KEY": "<AIMARKET_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"aimarket-mcp": {
"command": "uvx",
"args": [
"aimarket-mcp"
],
"env": {
"AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>",
"AIMARKET_API_KEY": "<AIMARKET_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"aimarket-mcp": {
"command": "uvx",
"args": [
"aimarket-mcp"
],
"env": {
"AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>",
"AIMARKET_API_KEY": "<AIMARKET_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"aimarket-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"aimarket-mcp"
],
"env": {
"AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>",
"AIMARKET_API_KEY": "<AIMARKET_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add aimarket-mcp --env AIMARKET_METIS_KEY='<AIMARKET_METIS_KEY>' --env AIMARKET_API_KEY='<AIMARKET_API_KEY>' -- uvx aimarket-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.aimarket-mcp]
command = "uvx"
args = ["aimarket-mcp"]
env = { AIMARKET_METIS_KEY = "<AIMARKET_METIS_KEY>", AIMARKET_API_KEY = "<AIMARKET_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"aimarket-mcp": {
"command": "uvx",
"args": [
"aimarket-mcp"
],
"env": {
"AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>",
"AIMARKET_API_KEY": "<AIMARKET_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "aimarket-mcp": { "command": "uvx", "args": [ "aimarket-mcp" ], "env": { "AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>", "AIMARKET_API_KEY": "<AIMARKET_API_KEY>" } } } }Or run: gemini mcp add -s user -e AIMARKET_METIS_KEY='<AIMARKET_METIS_KEY>' -e AIMARKET_API_KEY='<AIMARKET_API_KEY>' aimarket-mcp uvx -- aimarket-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "aimarket-mcp": { "command": "uvx", "args": [ "aimarket-mcp" ], "env": { "AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>", "AIMARKET_API_KEY": "<AIMARKET_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "aimarket-mcp": { "command": "uvx", "args": [ "aimarket-mcp" ], "env": { "AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>", "AIMARKET_API_KEY": "<AIMARKET_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "aimarket-mcp": { "command": "uvx", "args": [ "aimarket-mcp" ], "env": { "AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>", "AIMARKET_API_KEY": "<AIMARKET_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "aimarket-mcp": { "command": "uvx", "args": [ "aimarket-mcp" ], "env": { "AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>", "AIMARKET_API_KEY": "<AIMARKET_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "aimarket-mcp": { "command": "uvx", "args": [ "aimarket-mcp" ], "env": { "AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>", "AIMARKET_API_KEY": "<AIMARKET_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "aimarket-mcp": { "command": "uvx", "args": [ "aimarket-mcp" ], "env": { "AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>", "AIMARKET_API_KEY": "<AIMARKET_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "aimarket-mcp": { "command": "uvx", "args": [ "aimarket-mcp" ], "env": { "AIMARKET_METIS_KEY": "<AIMARKET_METIS_KEY>", "AIMARKET_API_KEY": "<AIMARKET_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
AIMARKET_METIS_URLMetis verify API base URLAIMARKET_METIS_KEYOptional bearer token for Metis verifyAIMARKET_SEARCH_URLDuckDuckGo HTML search endpoint overrideAIMARKET_API_KEYOptional key from https://modelmarket.dev/start: pays priced market_invoke calls from a prepaid USDC balance once the free trial is spent
About AIMarket MCP Gateway
Six tools sit behind one gateway shared by the author's wider ecosystem. web_fetch returns a page's main text with SSRF guarding, and web_search returns live DuckDuckGo snippets; both wrap their output as untrusted after sanitising. metis_verify returns an answer with a verify score and a verified flag. The other three, market_search, market_invoke and market_status, talk to an AIMarket hub to discover and run priced capabilities, with a few free trial invokes and a signed receipt for each.
The README points out that pasting modelmarket.dev/mcp into a client gives the two market tools with no install. Installing this package adds the other three tools or points the market tools at your own hub. An optional AIMARKET_API_KEY pays priced calls from a prepaid USDC balance once the trial is used.
It runs over stdio with uvx, or as a Streamable HTTP server on port 9090 with Docker Compose. HTTP requests without a key are refused by default, production mode requires AIMARKET_MCP_KEY, and a per-key rate limit defaults to 120 requests a minute.
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 4 of 6 tools read data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- web_fetchName suggests: reads
- Fetches a URL and returns its main text.
- web_searchName suggests: reads
- Runs a live DuckDuckGo search and returns top snippets.
- metis_verify
- Returns an answer with a verify score and verified flag.
- market_searchName suggests: reads
- Discovers priced capabilities on an AIMarket hub.
- market_invoke
- Runs one capability on the hub's free trial tier.
- market_statusName suggests: reads
- Shows remaining trial invokes and prepaid balance.
What it does
- SSRF-guarded fetch
- web_fetch returns a page's main text with output sanitised and wrapped as untrusted.
- Live web search
- web_search returns top DuckDuckGo snippets.
- Verification gate
- metis_verify returns an answer with a verify score and verified flag.
- Capability marketplace
- market_search and market_invoke find and run priced capabilities on a hub.
- Signed receipts
- Each trial invoke returns a signed receipt nonce.
- Fail-closed HTTP
- HTTP mode refuses keyless requests unless made public explicitly.
Good for
- Fetch a web page safely for an agent
- Search the web from an MCP client
- Verify an answer with a score
- Try paid AI capabilities on a free trial
- Self-host a shared tool gateway for several agents
Pricing
Freemium
Free trial invokes; priced calls paid from a prepaid USDC balance
AIMarket MCP Gateway FAQ
Can I try the market without installing?
Yes. The README says to paste https://modelmarket.dev/mcp into a client for market_search and market_invoke with a few free trial invokes.
What does the package add?
The web_fetch, web_search and metis_verify tools.
How are paid calls billed?
From a prepaid USDC balance tied to AIMARKET_API_KEY once the free trial is spent.
Is the HTTP server open by default?
No. Requests without a key are refused unless AIMARKET_MCP_PUBLIC is set to 1.
How do I add AIMarket MCP Gateway to Claude Code?
Run this command in your terminal: claude mcp add aimarket-mcp --env AIMARKET_METIS_KEY='<AIMARKET_METIS_KEY>' --env AIMARKET_API_KEY='<AIMARKET_API_KEY>' -- uvx aimarket-mcp
What are the best alternatives to AIMarket MCP Gateway?
The closest alternatives to AIMarket MCP Gateway are REA, Scrapling MCP Server, Context7, Chrome DevTools MCP and Codebase Memory.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


