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
🔗 Related Links
- ALAPI Official Website - Obtain API services and Token
🗺️ Feature List
The following lists only some of the features. For specifics, please refer to the actual invocation results.
Command Name | Function Description | Core Parameters |
---|---|---|
user_apis | Get the list of applied interfaces | |
/api/ip | Query IP Geolocation Information | ip |
/api/tianqi | Query detailed domestic weather information, including weather data, weather alerts, weather indices, AQI, etc. | city |
/api/tophub | Query 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/text | Check if text violates policies, particularly suitable for AI content moderation | text |
/api/url | Shorten long URLs into short ones for scenarios such as SMS sending and QR code generation | url |
/api/qr/decode | Supports multiple codes in one image, recognizes dozens of QR code types and barcodes | url |
/api/eventHistory | Query major historical events that occurred on a specified date | date |
/api/exchange | Query currency exchange rates and conversions by currency code, supporting 170+ countries and regions worldwide | money,from,to |
/api/enterprise/simple_search | Enterprise business information search, query basic business information of enterprises by enterprise name or unified social credit code | keyword |
/api/kd | Express Delivery Query V1, free query of express logistics tracking, supports ZTO, STO, SF Express, J&T Express, Best Express, YTO, etc. | numner,phone |
/api/star | Horoscope query service, provides daily, weekly, monthly, and yearly fortune predictions for all twelve zodiac signs | star |
/api/gold | Query real-time gold prices, including highest price, lowest price, and branded gold prices | market |
Repository URL
https://cnb.cool/alapi/mcp-alapi-cn