A weather forecast MCP Server for any AI agent.
Project description
是什么
Python语言,基于 mcp 库实现的一个 MCP-Server。
有什么能力
预测明天的天气。
怎么用
MCP使用
添加如下 mcpServers 配置 以 VSCode + Cline插件 为例
{
"mcpServers": {
"weather": {
"autoApprove": [],
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "uvx",
"args": [
"darcycui-mcp"
]
}
}
}
本地使用
- clone项目到本地 path
- 添加如下配置
{
"mcpServers": {
"weather": {
"autoApprove": [],
"disabled": true,
"timeout": 60,
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"path\\src\\darcycui_mcp",
"run",
"weather.py"
]
}
}
}
运行结果
参考文章
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
darcycui_mcp-1.0.2.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file darcycui_mcp-1.0.2.tar.gz.
File metadata
- Download URL: darcycui_mcp-1.0.2.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b4ce100cdce2ea3e7c157f9bf9e6cfdbed8cf0031b93b2c9f4dde3cc69da687
|
|
| MD5 |
0c6ef0e91d16603f2a120d1ebe1cb2b4
|
|
| BLAKE2b-256 |
485baf676049e97ebd616fcefbef8f4459ac70d83afca916eafb1edbc505d248
|
File details
Details for the file darcycui_mcp-1.0.2-py3-none-any.whl.
File metadata
- Download URL: darcycui_mcp-1.0.2-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
646637e5ba81976368100fed26231161b3d7c1acec0641a5c0ca47a20c7422a3
|
|
| MD5 |
a9d85b14a93339205857310262f04879
|
|
| BLAKE2b-256 |
c70620aef038234b11fae2bbf30b03023fd19f56132adbaf8422919bc9cadd54
|