Skip to main content

ALAPI API Platform MCP Integration

It provides interaction with the ALAPI interface platform via the MCP protocol, enabling quick querying of IP geolocation, weather conditions, trending data, text moderation, URL shortening, and other operations.

Go to CloudBase Platform to run MCP Server


Environment Variables

  • You need to configure ALAPI_TOKEN as the TOKEN created on ALAPI
  • Optionally configure ALAPI_ID as the interface ID. If no specific interface is used, fill in 0

🗺️ Feature List

The following lists only some of the features. For specifics, please refer to the actual invocation results.

Command NameFunction DescriptionCore Parameters
user_apisGet the list of applied interfaces
/api/ipQuery IP Geolocation Informationip
/api/tianqiQuery detailed domestic weather information, including weather data, weather alerts, weather indices, AQI, etc.city
/api/tophubQuery today's hotlist data, including Douyin hot searches, Toutiao hotlist, Zhihu, 36kr, Baidu hot searches, Sogou hot searches, Weibo hot searches, etc.id,type
/api/censor/textCheck if text violates policies, particularly suitable for AI content moderationtext
/api/urlShorten long URLs into short ones for scenarios such as SMS sending and QR code generationurl
/api/qr/decodeSupports multiple codes in one image, recognizes dozens of QR code types and barcodesurl
/api/eventHistoryQuery major historical events that occurred on a specified datedate
/api/exchangeQuery currency exchange rates and conversions by currency code, supporting 170+ countries and regions worldwidemoney,from,to
/api/enterprise/simple_searchEnterprise business information search, query basic business information of enterprises by enterprise name or unified social credit codekeyword
/api/kdExpress Delivery Query V1, free query of express logistics tracking, supports ZTO, STO, SF Express, J&T Express, Best Express, YTO, etc.numner,phone
/api/starHoroscope query service, provides daily, weekly, monthly, and yearly fortune predictions for all twelve zodiac signsstar
/api/goldQuery real-time gold prices, including highest price, lowest price, and branded gold pricesmarket

Repository URL

https://cnb.cool/alapi/mcp-alapi-cn


🔌 Usage


CloudBase MCP Console