About ChinaAPI
Read-only ChinaAPI model catalogue, price snapshot, cost estimates and request recipes.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://api.chinaapi.ai/mcpclaude mcp add --transport http ai-chinaapi-chinaapi https://api.chinaapi.ai/mcp{"mcpServers":{"ai-chinaapi-chinaapi":{"type":"http","url":"https://api.chinaapi.ai/mcp"}}}Open in Cursor{"servers":{"ai-chinaapi-chinaapi":{"type":"http","url":"https://api.chinaapi.ai/mcp"}}}Open in VS Code{"mcpServers":{"ai-chinaapi-chinaapi":{"type":"http","url":"https://api.chinaapi.ai/mcp"}}}{"mcpServers":{"ai-chinaapi-chinaapi":{"serverUrl":"https://api.chinaapi.ai/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
4| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Exact, case-sensitive model ID as returned by chinaapi_list_models. |
| images | integer | No | Quantity in images for the image_n meter. |
| requests | integer | No | Quantity in requests for the per_call meter. |
| characters | integer | No | Quantity in characters for the input meter (models billed in characters). |
| input_tokens | integer | No | Quantity in tokens for the input meter (models billed in tokens). |
| audio_seconds | integer | No | Quantity in audio seconds for the input meter (models billed in audio_duration). |
| output_tokens | integer | No | Quantity in tokens for the output meter (models billed in tokens). |
| video_seconds | integer | No | Quantity in seconds for the video_second meter. |
| context_tokens | integer | No | Input context length used to choose a context-length tier. Only for models whose tiers depend on context length; defaults to the input and cache tokens. |
| cache_read_tokens | integer | No | Quantity in tokens for the cache_read meter (models billed in tokens). |
| audio_input_tokens | integer | No | Quantity in tokens for the audio_input meter (models billed in tokens). |
| cache_write_tokens | integer | No | Quantity in tokens for the cache_write meter (models billed in tokens). |
| image_input_tokens | integer | No | Quantity in tokens for the image_input meter (models billed in tokens). |
| audio_output_tokens | integer | No | Quantity in tokens for the audio_output meter (models billed in tokens). |
| image_output_tokens | integer | No | Quantity in tokens for the image_output meter (models billed in tokens). |
| cache_write_1h_tokens | integer | No | Quantity in tokens for the cache_write_1h meter (models billed in tokens). |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.