Air China MCP server for AI agents
Let Claude, ChatGPT or your own agent read Air China: 1 typed function through one MCP server. No Air China API key needed.
- Site
- airchina.com
- Functions
- 1
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Air China
An MCP server for Air China alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/airchinaEvery site
One MCP server for Air China and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 1
getDealFaresReads the cheapest one-way deal fares Air China publishes from one origin city (destination, date, price in CNY) off the mobile site's own home-page…Arguments
Name Type Required fromstringIATA city or airport code to fly FROM, e.g. "PEK", "SHA", "CTU".No Returns
AirChinaDealFaresinterface AirChinaDealFare { from: string; to: string; /** YYYY-MM-DD */ date: string; /** One-way adult economy, tax excluded. */ price: number; currency: "CNY"; international: boolean; /** Connection airport, or null for nonstop. */ via: string | null; } interface AirChinaDealFares { requestedFrom: string; /** The origin Air China actually answered for. */ servedFrom: string | null; /** True when Air China had no deals from requestedFrom and answered with another origin's (Beijing's). */ fellBack: boolean; fares: AirChinaDealFare[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/airchina/getDealFaresCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.airchina.getDealFares({ from: "PEK" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.airchina.getDealFares({"from": "PEK"}))curl -X POST https://api.bowmark.ai/v1/sites/airchina/getDealFares \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"from":"PEK"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.airchina.getDealFares({ from: "PEK" });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/airchina/<function> - OpenAPI
/v1/sites/airchina/openapi.json