MCPサーバー

AIGratis

id.my.aigratis/aigratis

このMCPでできること

Catalogs AI model gateways and compares model availability, pricing, context limits, exchange rates, free offers, and estimated usage costs.

compare_model_prices
Compare model prices
Every gateway offering one canonical model, cheapest input price first. Includes context length, cached-input price, isFree, referral link, and when each offer was last synced. Returns the `limit` cheapest offers plus totalOffers. If the exact slug is unknown, falls back to a search and returns candidates.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['model'], 'properties': {'free': {'type': 'boolean', 'description': 'When searching by partial name: only models with free offers (true) or paid (false)'}, 'limit': {'type': 'integer', 'default': 15, 'maximum': 100, 'minimum': 1, 'description': 'Max offers to return (cheapest first)'}, 'model': {'type': 'string', 'maxLength': 160, 'minLength': 1, 'description': "Canonical slug (e.g. 'gpt-4o', 'claude-sonnet-4-5') or a partial name"}}, 'additionalProperties': False}
estimate_cost
Estimate monthly cost
Monthly bill for a model at every gateway, given expected input and output tokens. Returns the `limit` cheapest gateways in USD and IDR, totalOffers, and the `cheapest` entry. Free offers cost 0.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['model'], 'properties': {'limit': {'type': 'integer', 'default': 10, 'maximum': 100, 'minimum': 1, 'description': 'Max gateways to return (cheapest first)'}, 'model': {'type': 'string', 'maxLength': 160, 'minLength': 1, 'description': 'Canonical slug from suggest_models/search_models, or a partial model id'}, 'inputTokens': {'type': 'number', 'default': 1000000, 'minimum': 0, 'description': 'Input tokens per month'}, 'outputTokens': {'type': 'number', 'default': 200000, 'minimum': 0, 'description': 'Output tokens per month'}}, 'additionalProperties': False}
get_fx_rates
Exchange rates
Exchange rates used to convert USD prices (perUsd = units of currency per 1 USD).
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
get_gateway
Get gateway
One gateway's profile plus its full model list with prices, context length, modalities and isFree, sorted by input price.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['slug'], 'properties': {'slug': {'type': 'string', 'maxLength': 64, 'minLength': 1, 'description': 'Gateway slug from list_gateways'}}, 'additionalProperties': False}
list_gateways
List gateways
Active AI gateways (providers) in compact form: slug, name, tagline, website, referral link, model count, likes, last sync. Editor's picks come first by default. Use get_gateway for docs, payment methods, notes, and the model list.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'sort': {'enum': ['default', 'likes'], 'type': 'string', 'default': 'default', 'description': "'likes' ranks by visitor votes"}, 'limit': {'type': 'integer', 'default': 20, 'maximum': 200, 'minimum': 1}, 'offset': {'type': 'integer', 'default': 0, 'minimum': 0}}, 'additionalProperties': False}
recent_changes
Recent catalog changes
Catalog events, newest first: models added/removed/returned, price up/down, became free/paid, new gateways. Filter by gateway or model. Paginate with cursor.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'kind': {'enum': ['added', 'removed', 'returned', 'price_up', 'price_down', 'became_free', 'became_paid', 'provider_added'], 'type': 'string'}, 'limit': {'type': 'integer', 'default': 30, 'maximum': 100, 'minimum': 1}, 'model': {'type': 'string', 'maxLength': 160, 'description': 'Canonical model slug'}, 'cursor': {'type': 'string', 'maxLength': 64, 'description': 'nextCursor from the previous page'}, 'provider': {'type': 'string', 'maxLength': 64, 'description': 'Gateway slug'}}, 'additionalProperties': False}
search_models
Search models
Search model offers across all gateways. Each row is one model at one gateway with its input/output price in USD per 1M tokens. Filter by free=true to list only free offers. Returns canonicalSlug for use with compare_model_prices and estimate_cost.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'q': {'type': 'string', 'maxLength': 120, 'description': "Substring match on model id, name, or canonical slug, e.g. 'gpt-4o', 'llama'"}, 'free': {'type': 'boolean', 'description': 'true = only free offers, false = only paid'}, 'page': {'type': 'integer', 'default': 1, 'minimum': 1}, 'sort': {'enum': ['price_asc', 'price_desc', 'context_desc', 'name_asc'], 'type': 'string', 'default': 'price_asc'}, 'vendor': {'type': 'string', 'maxLength': 64, 'description': 'Model maker, lowercase: anthropic, openai, google, meta, deepseek, mistral, qwen, xai, ...'}, 'perPage': {'type': 'integer', 'default': 25, 'maximum': 100, 'minimum': 1}, 'modality': {'type': 'string', 'maxLength': 32, 'description': "Required modality, e.g. 'text', 'image', 'audio'"}, 'provider': {'type': 'string', 'maxLength': 64, 'description': 'Gateway slug (see list_gateways)'}, 'minContext': {'type': 'integer', 'minimum': 0, 'description': 'Minimum context window in tokens'}, 'maxInputPrice': {'type': 'number', 'minimum': 0, 'description': 'Maximum input price, USD per 1M tokens'}}, 'additionalProperties': False}
suggest_models
Suggest models
Resolve a loose model name to canonical slugs. Returns up to `limit` canonical models matching the query, with how many gateways sell each, how many for free, and the cheapest monthly bill for the given token usage. Use before compare_model_prices when you only have a rough name.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'q': {'type': 'string', 'maxLength': 120, 'description': "Partial model name, e.g. 'claude sonnet', 'deepseek'"}, 'limit': {'type': 'integer', 'default': 8, 'maximum': 20, 'minimum': 1}, 'inputTokens': {'type': 'number', 'default': 1000000, 'minimum': 0, 'description': 'Monthly input tokens for the cost preview'}, 'outputTokens': {'type': 'number', 'default': 200000, 'minimum': 0, 'description': 'Monthly output tokens for the cost preview'}}, 'additionalProperties': False}
top_free_gateways
Top free gateways
Gateways ranked by how many distinct models they offer for free, with a few well-known example models each.
読み取り専用 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'default': 5, 'maximum': 20, 'minimum': 1}}, 'additionalProperties': False}
追加
get_fx_rates
2026年9月19日2:40
追加
recent_changes
2026年9月19日2:40
追加
top_free_gateways
2026年9月19日2:40
追加
get_gateway
2026年9月19日2:40
追加
list_gateways
2026年9月19日2:40
追加
estimate_cost
2026年9月19日2:40
追加
compare_model_prices
2026年9月19日2:40
追加
suggest_models
2026年9月19日2:40
追加
search_models
2026年9月19日2:40