Integrations
Utilized for version control and code management of the MCP server.
Serves as the runtime environment for the MCP server, allowing it to handle financial and weather data requests.
Used for managing the server's dependencies and running the application.
天气和股票 MCP 服务器 🌦️📉
该项目是一个MCP(模型上下文协议)服务器,使用各种 API 提供天气警报、预报、股票价格、历史数据和新闻。
特点🚀
- 🐼 使用雅虎财经获取实时股票价格
- 📊 检索历史股票数据(每日、每周、每月)
- 📰 从 NewsAPI 获取股票相关新闻
- 🌦️ 使用国家气象局 API 获取天气警报和预报
安装和设置⚙️
先决条件
- Node.js (v18 或更高版本)
- Git
- NewsAPI的 API 密钥
步骤
- 克隆存储库:Copy
- 安装依赖项:Copy
- 设置环境变量:
创建一个.env
文件并添加:Copy - 启动服务器:Copy
使用方法🛠️
MCP 服务器提供以下工具:
获取股票价格
Copy
获取历史股票数据
Copy
获取新闻
Copy
贡献🤝
欢迎随意 fork 此 repo、进行修改并提交拉取请求!🚀
许可证🐟
该项目已获得 MIT 许可。
This server cannot be installed
通过 MCP 界面提供实时天气警报、预报、股票价格、历史数据和股票相关新闻。