这是一个查询天气的mcp server项目:通过调用官网数据,获取城市的经纬度,然后再调用天气查询网站,获得天气预报。
Server Config
{
"mcpServers": {
"weather": {
"disabled": false,
"timeout": 60,
"command": "uv",
"args": [
"--directory",
"your folder path",
"run",
"weather.py"
],
"transportType": "stdio"
}
}
}