alibabacloud-pricing-mcp
v0.3.5MCP server for Alibaba Cloud International (alibabacloud.com) pricing: no-credential web calculator pricing, optional BSS OpenAPI, estimates, xlsx/html export
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pricing_recipes
Which tool / BSS product to use for each common Alibaba Cloud product (ECS, RDS, PolarDB, OSS, CDN, SLB/ALB, EIP, NAT, ACK, PAI, Model Studio, WAF...). Start here for anything not obviously ECS/RDS/Redis.
bss_list_products
List product codes / product types known to the International-site billing system (BSS QueryProductList). Filter with a keyword such as 'oss', 'cdn', 'polardb', 'slb'.
| Parameter | Type | Description |
|---|---|---|
keyword | string |
bss_get_pricing_modules
Pricing modules and valid attribute values for a product (BSS DescribePricingModule). Use the returned module codes / attribute codes to build `modules` for bss_price_payg / bss_price_subscription.
| Parameter | Type | Description |
|---|---|---|
product_code * | string | |
subscription_type * | string | |
attribute_filter | string | |
max_values | integer | |
product_type | string |
bss_price_payg
Pay-as-you-go price for ANY product via BSS GetPayAsYouGoPrice (max 50 modules). Hour modules are multiplied by 730 h/month; Usage modules by usage_per_month (per-module value wins).
| Parameter | Type | Description |
|---|---|---|
modules * | array | |
product_code * | string | |
region * | string | |
add_to_estimate | string | Estimate id to append this priced item to |
include_raw | boolean | |
label | string | |
product_type | string | |
quantity | integer | |
usage_per_month | number |
bss_price_subscription
Subscription (prepaid) price for ANY product via BSS GetSubscriptionPrice (new purchase).
| Parameter | Type | Description |
|---|---|---|
modules * | array | |
product_code * | string | |
region * | string | |
add_to_estimate | string | Estimate id to append this priced item to |
include_raw | boolean | |
label | string | |
period | integer | |
period_unit | string | |
product_type | string | |
quantity | integer |
ecs_price
ECS instance price incl. system/data disks and fixed public bandwidth (ECS DescribePrice). Works for GPU instances (gn7i, gn8is ...). Region e.g. ap-southeast-1, cn-hongkong, ap-northeast-1.
| Parameter | Type | Description |
|---|---|---|
instance_type * | string | |
region * | string | |
add_to_estimate | string | Estimate id to append this priced item to |
bandwidth_mbps | integer | |
billing | string | |
data_disks | array | |
include_raw | boolean | |
internet_charge_type | string | |
label | string | |
os_type | string | |
period | integer | |
period_unit | string | |
quantity | integer | |
spot | boolean | |
system_disk_category | string | |
system_disk_performance_level | string | |
system_disk_size | integer | |
zone_id | string |
rds_price
ApsaraDB RDS price (RDS DescribePrice, international commodity codes). instance_class e.g. mysql.n2.medium.2c; category e.g. HighAvailability / Basic / cluster.
| Parameter | Type | Description |
|---|---|---|
engine * | string | |
engine_version * | string | |
instance_class * | string | |
region * | string | |
storage_gb * | integer | |
add_to_estimate | string | Estimate id to append this priced item to |
billing | string | |
category | string | |
include_raw | boolean | |
label | string | |
period | integer | |
period_unit | string | |
quantity | integer | |
read_only | boolean | |
storage_type | string | |
zone_id | string |
redis_price
Tair / Redis OSS-compatible price (R-KVStore DescribePrice). instance_class e.g. redis.shard.small.2.ce.
| Parameter | Type | Description |
|---|---|---|
instance_class * | string | |
region * | string | |
add_to_estimate | string | Estimate id to append this priced item to |
billing | string | |
include_raw | boolean | |
label | string | |
period_months | integer | |
quantity | integer | |
shard_count | integer | |
zone_id | string |
model_studio_price
Model Studio (Qwen API, international/Singapore) monthly token cost from the editable static catalog. Token volumes are in MILLIONS of tokens per month. Call with model='?' to list catalog models.
| Parameter | Type | Description |
|---|---|---|
input_mtokens_per_month * | number | |
model * | string | |
output_mtokens_per_month * | number | |
add_to_estimate | string | |
avg_input_tokens_per_request | integer | |
label | string |
estimate_create
Create a new estimate (stored locally as JSON). Returns its id.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
currency | string | |
customer | string | |
notes | string |
estimate_add_manual_item
Add a manually priced line (e.g. support plan, 3rd-party license, partner service fee). monthly_price / upfront_price are totals for the given quantity, list price.
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | |
label * | string | |
monthly_price * | number | |
service * | string | |
billing | string | |
note | string | |
quantity | integer | |
region | string | |
spec | string | |
upfront_price | number |
estimate_get
Show an estimate's line items and totals (list and account prices).
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string |
estimate_list
List saved estimates.
estimate_update_item
Change quantity / monthly usage / label of a line without re-calling the price API.
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | |
item_id * | string | |
label | string | |
quantity | integer | |
usage_per_month | number |
estimate_remove_item
Remove a line item.
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | |
item_id * | string |
estimate_export
Export an estimate to .xlsx and/or a standalone .html report. basis='list' = public list prices (safe for customers); 'account' = caller's discounted prices.
| Parameter | Type | Description |
|---|---|---|
estimate_id * | string | |
basis | string | |
fmt | string | |
inline | boolean | Also return the files in the tool result (needed when the server runs in a remote sandbox such as a shared runner) |
output_dir | string |
calculator_products
All Alibaba Cloud International products available WITHOUT credentials through the web Pricing Calculator backend, with status: verified (dedicated calc_* tool or tested sample), schema_only (use calculator_get_schema + calculator_price_custom), unavailable. Check this first.
| Parameter | Type | Description |
|---|---|---|
family | string | compute | database | storage | network | security | ops | middleware |
calculator_get_schema
Component / property codes and allowed values for a calculator product (no credentials). Use before calculator_price_custom. component_filter narrows output (e.g. 'region', 'class').
| Parameter | Type | Description |
|---|---|---|
commodity_code * | string | |
component_filter | string | |
max_values | integer |
calc_ecs_price
ECS list price from the web Pricing Calculator — NO credentials. Includes system/data disks and fixed bandwidth; works for GPU types. Invalid values come back with allowed options.
| Parameter | Type | Description |
|---|---|---|
instance_type * | string | |
region * | string | |
add_to_estimate | string | Estimate id to append this priced item to |
bandwidth_mbps | integer | |
billing | string | |
data_disks | array | |
include_raw | boolean | |
internet_charge_type | string | |
label | string | |
os_type | string | |
period | integer | |
period_unit | string | |
quantity | integer | |
system_disk_category | string | |
system_disk_performance_level | string | |
system_disk_size | integer |
calc_rds_price
RDS list price (subscription or pay-as-you-go) from the web Pricing Calculator — NO credentials. engine: MySQL / PostgreSQL / SQLServer / MariaDB; category: HighAvailability / Basic / cluster / AlwaysOn. Invalid values come back with allowed options.
| Parameter | Type | Description |
|---|---|---|
engine * | string | |
engine_version * | string | |
instance_class * | string | |
region * | string | |
storage_gb * | integer | |
add_to_estimate | string | Estimate id to append this priced item to |
billing | string | |
category | string | |
include_raw | boolean | |
label | string | |
period | integer | |
period_unit | string | |
quantity | integer | |
storage_type | string | |
zone_id | string |
calc_redis_price
Tair / Redis Open-Source Edition list price from the web Pricing Calculator — NO credentials. Subscription uses the cloud-native edition (Redis 5.0/6.0/7.0); pay-as-you-go uses the classic standard edition (Redis 2.8/4.0/5.0). Standard (non-cluster) architecture. instance_class overrides the size->class mapping; a wrong class returns the allowed options.
| Parameter | Type | Description |
|---|---|---|
memory_gb * | integer | 1, 2, 4, 8, 16, 24 (sub only), 32, 64 |
region * | string | |
add_to_estimate | string | Estimate id to append this priced item to |
architecture | string | ha = master + replica |
billing | string | |
engine_version | string | subscription: 7.0 / 6.0 / 5.0 (default 7.0); payg: 5.0 / 4.0 / 2.8 (default 5.0) |
include_raw | boolean | |
instance_class | string | |
label | string | |
period | integer | |
period_unit | string | |
quantity | integer |
calc_polardb_price
PolarDB for MySQL list price from the web Pricing Calculator — NO credentials. Prices the compute nodes (1 primary + read_only_nodes); subscription also includes storage_gb. Pay-as-you-go storage is billed per GB used and is NOT included. node_spec e.g. polar.mysql.mmx2.xlarge (dedicated 8C16G); invalid values return the allowed options.
| Parameter | Type | Description |
|---|---|---|
node_spec * | string | |
region * | string | |
add_to_estimate | string | Estimate id to append this priced item to |
billing | string | |
edition | string | |
engine | string | |
hot_standby | boolean | hot standby storage cluster (console default ON) |
include_raw | boolean | |
label | string | |
period | integer | |
period_unit | string | |
quantity | integer | |
read_only_nodes | integer | |
storage_gb | integer | subscription only: storage capacity in GB (default 100) |
storage_type | string | standard = PSL4, high_performance = PSL5, essdpl1 ... |
calc_oss_price
OSS storage list price from the web Pricing Calculator — NO credentials. storage_gb is the average stored volume per month. Outbound internet traffic is attempted separately and reported in notes if the calculator cannot price it.
| Parameter | Type | Description |
|---|---|---|
region * | string | |
storage_gb * | number | |
add_to_estimate | string | Estimate id to append this priced item to |
include_raw | boolean | |
label | string | |
outbound_gb | number | |
storage_class | string | Standard | IA | Archive | ColdArchive (LRS) or standard-zrs | IA-zrs |
calculator_price_custom
Price ANY calculator product (WAF 3.0, Security Center, CLB, ALB, NAT, NLB, ...) with explicit components {componentCode: {propertyCode: value}} from calculator_get_schema — NO credentials. period_unit defaults to Hour for pay-as-you-go products and Month for subscriptions. Include the region component.
| Parameter | Type | Description |
|---|---|---|
commodity_code * | string | |
components * | object | |
region * | string | |
add_to_estimate | string | Estimate id to append this priced item to |
include_raw | boolean | |
label | string | |
period | integer | |
period_unit | string | |
quantity | integer | |
service | string |