快递100 MCP Server (Python)
通过uv安装python,最低版本要求为3.11
uv python install 3.11
获取快递100 API KEY
登录快递100获取: 快递100官方 (注意不要泄露授权key,以防被他人盗用!!!)
一、STDIO方式:在线获取快递100 MCP服务运行
通过uvx命令一步获取kuaidi100_mcp并使用
{
"mcpServers": {
"kuaidi100": {
"command": "uvx",
"args": [
"kuaidi100-mcp"
],
"env": {
"KUAIDI100_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
二、STDIO方式:下载本项目至本地,配置本地项目后运行
通过uv创建一个项目
uv init kuaidi100_mcp
将api_mcp.py拷贝到该目录下,通过如下命令测试mcp server是否正常运行
uv run --with mcp[cli] mcp run {YOUR_PATH}/kuaidi100_mcp/api_mcp.py
# 如果是mac,需要加转义符
uv run --with mcp\[cli\] mcp run {YOUR_PATH}/kuaidi100_mcp/api_mcp.py
如果没有报错则MCP Server启动成功
在支持MCP的客户端中使用
在MCP Server配置文件中添加如下内容后保存
{
"mcpServers": {
"kuaidi100": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"{YOUR_PATH}/kuaidi100_mcp/api_mcp.py"
],
"env": {
"KUAIDI100_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
三、SSE方式:
配置SSE链接和KEY后使用
"kuaidi100": {
"url": "https://api.kuaidi100.com/mcp/sse?key=<YOUR_API_KEY>"
}
测试
物流轨迹查询:
快递预估时效:
快递预估价格
Tips
如需获取账号信息(如 key、customer、secret),或免费试用100单,请访问API开放平台进行注册
Metadata
Release files for kuaidi100-mcp 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| kuaidi100_mcp-0.1.3.tar.gz | 114.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kuaidi100_mcp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 128.8 kB
Release files / kuaidi100_mcp-0.1.3.tar.gz
| Download URL | kuaidi100_mcp-0.1.3.tar.gz |
|---|---|
| Size | 114.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e872b7998d0fcb57ed1d813aab669acb06ea049712abd793b61a3ce1b06293bc
|
|
BLAKE2b-256 checksum How to use checksums |
890841b592c0733305640a009e9ea329288754a15585f2469b34964a8cc451be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Release files / kuaidi100_mcp-0.1.3-py3-none-any.whl
| Download URL | kuaidi100_mcp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72723020bd4802268c0c1b01b108e10d39eab987ba210c8759f4bd6048a097e7
|
|
BLAKE2b-256 checksum How to use checksums |
598c9e7092428c080264e40ce25f3fd5f299f0a16c83b18d08ad10011a04c118
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Security for kuaidi100-mcp 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.