alibabacloud-pricing-mcp

v0.3.5
alibabacloud-pricing-mcp Checked 5 hours ago Published 6 days ago

MCP 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'.

ParameterTypeDescription
keywordstring

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.

ParameterTypeDescription
product_code *string
subscription_type *string
attribute_filterstring
max_valuesinteger
product_typestring

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).

ParameterTypeDescription
modules *array
product_code *string
region *string
add_to_estimatestringEstimate id to append this priced item to
include_rawboolean
labelstring
product_typestring
quantityinteger
usage_per_monthnumber

bss_price_subscription

Subscription (prepaid) price for ANY product via BSS GetSubscriptionPrice (new purchase).

ParameterTypeDescription
modules *array
product_code *string
region *string
add_to_estimatestringEstimate id to append this priced item to
include_rawboolean
labelstring
periodinteger
period_unitstring
product_typestring
quantityinteger

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.

ParameterTypeDescription
instance_type *string
region *string
add_to_estimatestringEstimate id to append this priced item to
bandwidth_mbpsinteger
billingstring
data_disksarray
include_rawboolean
internet_charge_typestring
labelstring
os_typestring
periodinteger
period_unitstring
quantityinteger
spotboolean
system_disk_categorystring
system_disk_performance_levelstring
system_disk_sizeinteger
zone_idstring

rds_price

ApsaraDB RDS price (RDS DescribePrice, international commodity codes). instance_class e.g. mysql.n2.medium.2c; category e.g. HighAvailability / Basic / cluster.

ParameterTypeDescription
engine *string
engine_version *string
instance_class *string
region *string
storage_gb *integer
add_to_estimatestringEstimate id to append this priced item to
billingstring
categorystring
include_rawboolean
labelstring
periodinteger
period_unitstring
quantityinteger
read_onlyboolean
storage_typestring
zone_idstring

redis_price

Tair / Redis OSS-compatible price (R-KVStore DescribePrice). instance_class e.g. redis.shard.small.2.ce.

ParameterTypeDescription
instance_class *string
region *string
add_to_estimatestringEstimate id to append this priced item to
billingstring
include_rawboolean
labelstring
period_monthsinteger
quantityinteger
shard_countinteger
zone_idstring

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.

ParameterTypeDescription
input_mtokens_per_month *number
model *string
output_mtokens_per_month *number
add_to_estimatestring
avg_input_tokens_per_requestinteger
labelstring

estimate_create

Create a new estimate (stored locally as JSON). Returns its id.

ParameterTypeDescription
name *string
currencystring
customerstring
notesstring

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.

ParameterTypeDescription
estimate_id *string
label *string
monthly_price *number
service *string
billingstring
notestring
quantityinteger
regionstring
specstring
upfront_pricenumber

estimate_get

Show an estimate's line items and totals (list and account prices).

ParameterTypeDescription
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.

ParameterTypeDescription
estimate_id *string
item_id *string
labelstring
quantityinteger
usage_per_monthnumber

estimate_remove_item

Remove a line item.

ParameterTypeDescription
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.

ParameterTypeDescription
estimate_id *string
basisstring
fmtstring
inlinebooleanAlso return the files in the tool result (needed when the server runs in a remote sandbox such as a shared runner)
output_dirstring

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.

ParameterTypeDescription
familystringcompute | 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').

ParameterTypeDescription
commodity_code *string
component_filterstring
max_valuesinteger

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.

ParameterTypeDescription
instance_type *string
region *string
add_to_estimatestringEstimate id to append this priced item to
bandwidth_mbpsinteger
billingstring
data_disksarray
include_rawboolean
internet_charge_typestring
labelstring
os_typestring
periodinteger
period_unitstring
quantityinteger
system_disk_categorystring
system_disk_performance_levelstring
system_disk_sizeinteger

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.

ParameterTypeDescription
engine *string
engine_version *string
instance_class *string
region *string
storage_gb *integer
add_to_estimatestringEstimate id to append this priced item to
billingstring
categorystring
include_rawboolean
labelstring
periodinteger
period_unitstring
quantityinteger
storage_typestring
zone_idstring

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.

ParameterTypeDescription
memory_gb *integer1, 2, 4, 8, 16, 24 (sub only), 32, 64
region *string
add_to_estimatestringEstimate id to append this priced item to
architecturestringha = master + replica
billingstring
engine_versionstringsubscription: 7.0 / 6.0 / 5.0 (default 7.0); payg: 5.0 / 4.0 / 2.8 (default 5.0)
include_rawboolean
instance_classstring
labelstring
periodinteger
period_unitstring
quantityinteger

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.

ParameterTypeDescription
node_spec *string
region *string
add_to_estimatestringEstimate id to append this priced item to
billingstring
editionstring
enginestring
hot_standbybooleanhot standby storage cluster (console default ON)
include_rawboolean
labelstring
periodinteger
period_unitstring
quantityinteger
read_only_nodesinteger
storage_gbintegersubscription only: storage capacity in GB (default 100)
storage_typestringstandard = 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.

ParameterTypeDescription
region *string
storage_gb *number
add_to_estimatestringEstimate id to append this priced item to
include_rawboolean
labelstring
outbound_gbnumber
storage_classstringStandard | 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.

ParameterTypeDescription
commodity_code *string
components *object
region *string
add_to_estimatestringEstimate id to append this priced item to
include_rawboolean
labelstring
periodinteger
period_unitstring
quantityinteger
servicestring