MCP 服务器

AIMarket — live agent marketplace

io.github.alexar76/aimarket-hub
AI 与智能体 MCP 与智能体基础设施 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Searches and invokes paid live data and computation capabilities from an agent marketplace, including weather, air quality, sensors, and randomness.

air_quality_now
Current air quality at a place: PM2.5 and PM10 (µg/m³), US and European AQI, from Copernicus CAMS via Open-Meteo, with a signed receipt. Pass latitude and longitude, or a city. Costs $0.001 per call. The first 5 priced calls per caller are free.
输入模式
{'type': 'object', 'properties': {'city': {'type': 'string', 'description': 'A city instead of coordinates, e.g. "Tokyo"; many spellings work (Токио, 東京).'}, 'latitude': {'type': 'number', 'maximum': 90, 'minimum': -90, 'description': 'Latitude in degrees.'}, 'longitude': {'type': 'number', 'maximum': 180, 'minimum': -180, 'description': 'Longitude in degrees.'}}}
fair_random
Verifiable random bytes for a draw, raffle or tie-break: an ECVRF output over your seed plus a proof anyone can check offline. The same seed always gives the same output, so publish the seed first to show the result was not picked. Costs $0.006 per call. The first 5 priced calls per caller are free.
输入模式
{'type': 'object', 'required': ['seed'], 'properties': {'seed': {'type': 'string', 'description': 'Seed or message the draw is bound to.'}, 'num_bytes': {'type': 'integer', 'maximum': 64, 'minimum': 1, 'description': 'Output length (default 32).'}}}
market_invoke
Invoke a capability found via market_search. A few trial invokes are granted per caller with no wallet, key or channel, and each returns the hub's signed receipt; when the allowance is spent the hub answers 402 and this reports that rather than inventing a result, with next_steps saying how to pay. Paid access uses payment_channel (+ secret) or an on-chain x402 payment (x_payment + x_payment_nonce + x_payment_secret).
输入模式
{'type': 'object', 'required': ['product_id', 'capability_id'], 'properties': {'input': {'type': 'object', 'description': 'Input object for the capability; {} when it takes none.'}, 'x_payment': {'type': 'string', 'description': "x402 seller-direct payment: the hash of the USDC transfer you broadcast for the 402's invoice (see next_steps)."}, 'product_id': {'type': 'string', 'description': 'The product_id from market_search.'}, 'source_hub': {'type': 'string', 'description': 'The source_hub from market_search, when it shows one. Required for federated capabilities — most of the catalogue; omitting it makes the hub look for the capability locally and answer 404.'}, 'capability_id': {'type': 'string', 'description': 'The exact capability_id from market_search.'}, 'max_price_usd': {'type': 'number', 'maximum': 1000000, 'minimum': 0, 'description': "Atomic total-price ceiling. Copy the selected search result's max_price_usd here; the Hub returns price_limit_exceeded before work or payment if the route was repriced."}, 'payment_channel': {'type': 'string'}, 'x_payment_nonce': {'type': 'string', 'description': 'The invoice nonce from the 402 that x_payment pays.'}, 'x_payment_secret': {'type': 'string', 'description': 'The payment_secret from that 402. The nonce and the transaction are public once mined; the secret is what shows you are the one who paid.'}, 'include_full_receipt': {'type': 'boolean', 'description': "Return the hub's raw response, including the full hybrid Ed25519 + ML-DSA-65 receipt signature (about 7 KB)."}, 'payment_authorization': {'type': 'object'}, 'payment_channel_secret': {'type': 'string'}}}
market_search
Search this hub's catalogue of live data and computation by what you need, in plain words. Each match gives the product_id, capability_id and source_hub to pass to market_invoke, its price, and `input`: the fields its input object takes.
输入模式
{'type': 'object', 'required': ['intent'], 'properties': {'limit': {'type': 'integer', 'description': 'Maximum results (default 10, max 50).'}, 'budget': {'type': 'number', 'description': 'Optional cap on price per call, in USD.'}, 'intent': {'type': 'string', 'description': 'What you want done, in plain language.'}, 'category': {'type': 'string', 'description': "Optional category filter, e.g. 'security'."}}}
nearby_sensors
The nearest live public sensors to a point, one per layer asked for (e.g. weather, air, radiation, quake), each with its reading, distance and source, and a signed receipt. Costs $0.03 per call. The first 5 priced calls per caller are free.
输入模式
{'type': 'object', 'required': ['latitude', 'longitude'], 'properties': {'layers': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Sensor layers to search, e.g. ["weather", "air"]; default weather.'}, 'max_km': {'type': 'number', 'minimum': 0, 'description': 'Refuse sensors farther than this.'}, 'latitude': {'type': 'number', 'maximum': 90, 'minimum': -90, 'description': 'Latitude in degrees.'}, 'longitude': {'type': 'number', 'maximum': 180, 'minimum': -180, 'description': 'Longitude in degrees.'}}}
pipeline_invoke
Execute or continue the SAME prepared graph. Submit authorizations when the signed quote enables gas_sponsorship, otherwise buyer-signed transactions; none for free steps. Never submit both payment modes. Retain run_id/access_token and the exact bundle. Pending is not failure; repeat the same run or read pipeline_status. Never create a replacement purchase after a lost response.
输入模式
{'type': 'object', 'title': 'PipelineInput', 'required': ['run_id', 'access_token'], 'properties': {'run_id': {'type': 'string', 'title': 'Run Id', 'pattern': '^paid_[0-9a-f]{32}$'}, 'access_token': {'type': 'string', 'title': 'Access Token', 'maxLength': 128, 'minLength': 20}, 'transactions': {'anyOf': [{'type': 'object', 'maxProperties': 16, 'additionalProperties': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]+$', 'maxLength': 4098}}, {'type': 'null'}], 'title': 'Transactions', 'default': None}, 'authorizations': {'anyOf': [{'type': 'object', 'maxProperties': 16, 'additionalProperties': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}$'}}, {'type': 'null'}], 'title': 'Authorizations', 'default': None}}, 'additionalProperties': False}
pipeline_prepare
Validate a graph and return a signed quote and payment offers. No work or payment. Free steps require no wallet; paid steps require buyer wallet address. Use gas_mode=required to demand gas sponsorship or auto to prefer it. Inspect ready/blockers and gas_sponsorship. Sign offers LOCALLY, never provide a private key. Then call pipeline_invoke.
输入模式
{'type': 'object', '$defs': {'StudioNode': {'type': 'object', 'title': 'StudioNode', 'required': ['product_id', 'capability_id'], 'properties': {'id': {'type': 'string', 'title': 'Id', 'default': '', 'maxLength': 64}, 'input': {'type': 'object', 'title': 'Input', 'additionalProperties': True}, 'depends_on': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Depends On', 'maxItems': 16}, 'input_from': {'anyOf': [{'type': 'string', 'maxLength': 64}, {'type': 'null'}], 'title': 'Input From', 'default': None}, 'product_id': {'type': 'string', 'title': 'Product Id', 'maxLength': 80, 'minLength': 2}, 'source_hub': {'anyOf': [{'type': 'string', 'maxLength': 200}, {'type': 'null'}], 'title': 'Source Hub', 'default': None}, 'capability_id': {'type': 'string', 'title': 'Capability Id', 'maxLength': 80, 'minLength': 2}}, 'description': "One hop of a studio blueprint — the executor's node shape, validated here too."}}, 'title': 'PrepareGraph', 'required': ['nodes'], 'properties': {'nodes': {'type': 'array', 'items': {'$ref': '#/$defs/StudioNode'}, 'title': 'Nodes', 'maxItems': 16, 'minItems': 1}, 'wallet': {'type': 'string', 'title': 'Wallet', 'default': '0x0000000000000000000000000000000000000000', 'pattern': '^0x[0-9a-fA-F]{40}$'}, 'gas_mode': {'enum': ['buyer', 'auto', 'required'], 'type': 'string', 'title': 'Gas Mode', 'default': 'buyer'}, 'max_budget_usd': {'anyOf': [{'type': 'number', 'maximum': 100000, 'minimum': 0}, {'type': 'null'}], 'title': 'Max Budget Usd', 'default': None}}}
pipeline_refund
Submit the original seller's refund authorization or resume the SAME refund. The recipient is the original buyer, amount is the paid step price, and the sponsor pays gas. Preserve the exact authorization after a lost response. Returns a separately signed credit note; the original bill is unchanged.
输入模式
{'type': 'object', 'title': 'RefundApproveToolInput', 'required': ['run_id', 'access_token', 'step_id'], 'properties': {'run_id': {'type': 'string', 'title': 'Run Id', 'pattern': '^paid_[0-9a-f]{32}$'}, 'step_id': {'type': 'string', 'title': 'Step Id', 'maxLength': 64, 'minLength': 1}, 'access_token': {'type': 'string', 'title': 'Access Token', 'maxLength': 128, 'minLength': 20}, 'authorization': {'anyOf': [{'type': 'string', 'pattern': '^0x[0-9a-fA-F]{130}$'}, {'type': 'null'}], 'title': 'Authorization', 'default': None}}, 'additionalProperties': False}
pipeline_refund_prepare
Prepare a cash refund for a verified paid step of a finished pipeline. This moves no money. The original seller must approve the exact EIP-3009 authorization locally; never send a private key. Refunds require seller cooperation and a configured gas sponsor.
输入模式
{'type': 'object', 'title': 'RefundToolInput', 'required': ['run_id', 'access_token', 'step_id'], 'properties': {'run_id': {'type': 'string', 'title': 'Run Id', 'pattern': '^paid_[0-9a-f]{32}$'}, 'step_id': {'type': 'string', 'title': 'Step Id', 'maxLength': 64, 'minLength': 1}, 'access_token': {'type': 'string', 'title': 'Access Token', 'maxLength': 128, 'minLength': 20}}, 'additionalProperties': False}
pipeline_refund_status
Read the saved cash-refund status and signed credit note without broadcasting a transaction. No private key or RPC is required. Pending means resume the same refund, never send a replacement transfer.
输入模式
{'type': 'object', 'title': 'RefundToolInput', 'required': ['run_id', 'access_token', 'step_id'], 'properties': {'run_id': {'type': 'string', 'title': 'Run Id', 'pattern': '^paid_[0-9a-f]{32}$'}, 'step_id': {'type': 'string', 'title': 'Step Id', 'maxLength': 64, 'minLength': 1}, 'access_token': {'type': 'string', 'title': 'Access Token', 'maxLength': 128, 'minLength': 20}}, 'additionalProperties': False}
pipeline_status
Read an existing pipeline, including cached signed result, without broadcasting payments or invoking providers. No wallet signer or blockchain RPC required. Inspect recovery.action for unresolved work.
输入模式
{'type': 'object', 'required': ['run_id', 'access_token'], 'properties': {'run_id': {'type': 'string', 'pattern': '^paid_[0-9a-f]{32}$'}, 'access_token': {'type': 'string', 'maxLength': 128, 'minLength': 20}}, 'additionalProperties': False}
weather_now
Current weather at a place: temperature (°C), humidity (%), pressure (hPa) and wind (m/s) from the nearest live Open-Meteo relay within 75 km, with a signed receipt. Pass latitude and longitude, or a city. Costs $0.001 per call. The first 5 priced calls per caller are free.
输入模式
{'type': 'object', 'properties': {'city': {'type': 'string', 'description': 'A city instead of coordinates, e.g. "Tokyo"; many spellings work (Токио, 東京).'}, 'latitude': {'type': 'number', 'maximum': 90, 'minimum': -90, 'description': 'Latitude in degrees.'}, 'longitude': {'type': 'number', 'maximum': 180, 'minimum': -180, 'description': 'Longitude in degrees.'}}}
已添加
pipeline_refund_status
2026年10月1日 02:44
已添加
pipeline_refund
2026年10月1日 02:44
已添加
pipeline_refund_prepare
2026年10月1日 02:44
已添加
pipeline_status
2026年10月1日 02:44
已添加
pipeline_invoke
2026年10月1日 02:44
已添加
pipeline_prepare
2026年10月1日 02:44
已更改
market_invoke
2026年9月29日 02:51
已添加
fair_random
2026年9月27日 02:43
已添加
nearby_sensors
2026年9月27日 02:43
已添加
air_quality_now
2026年9月27日 02:43
已添加
weather_now
2026年9月27日 02:43
已更改
market_invoke
2026年9月27日 02:43
已更改
market_search
2026年9月27日 02:43
已添加
market_invoke
2026年9月17日 12:40
已添加
market_search
2026年9月17日 12:40