使用说明
本地Claude MCP服务器集合
本地托管的模型调用协议(MCP)服务器的专业集合,用于增强Claude Desktop的外部功能,同时保持对数据和处理的完全控制。
⭐ 如果你觉得这个项目有用,请考虑在GitHub上给它一颗星以示支持! ⭐
概述
此存储库包含MCP服务器,这些服务器扩展了Claude Desktop的其他功能:
- 气象局:获取任何位置的实时天气信息
- LinkedIn个人资料抓取器:从领英提取和分析职业档案
更多MCP服务器即将推出!
项目结构
MCP/
├── linkedin/
│ ├── .venv/
│ ├── .env
│ ├── .gitignore
│ ├── linkedin.py
│ ├── pyproject.toml
│ └── uv.lock
├── weather/
│ ├── .venv/
│ ├── pyproject.toml
│ ├── requirements.txt
│ ├── uv.lock
│ └── weather.py
├── claude desktop config.png
└── README.md
先决条件
- Python 3.9+安装在您的系统上
- Claude桌面应用程序
- 命令行操作的基本知识
安装
1.安装UV
UV是一个现代的Python包安装程序和解析器,可确保快速、可重复的安装。
pip install uv
2.验证UV安装路径
找到安装UV的确切路径:
where uv # On Windows
which uv # On macOS/Linux
请注意此路径,因为您需要它进行配置。
3.克隆存储库
git clone https://github.com/yourusername/claude-mcp-servers.git
cd claude-mcp-servers
4.设置每个MCP服务器
每个服务器都包含在自己的目录中,并具有必要的依赖关系。
# For the weather service
cd weather
uv venv
uv pip install -r requirements.txt
# For the LinkedIn scraper
cd ../linkedin
uv venv
uv pip install -r requirements.txt
配置
配置本地MCP服务器
要从本地计算机上的此存储库配置MCP服务器,请执行以下操作:
{
"mcpServers": {
"weather": {
"command": "C:/Users/yourusername/AppData/Local/Programs/Python/Python311/Scripts/uv",
"args": [
"--directory",
"C:/path/to/your/MCP/weather",
"run",
"weather.py"
]
},
"linkedin_profile_scraper": {
"command": "C:/Users/yourusername/AppData/Local/Programs/Python/Python311/Scripts/uv",
"args": [
"--directory",
"C:/path/to/your/MCP/linkedin",
"run",
"linkedin.py"
]
}
}
}
📝 备注:将配置中的路径替换为实际路径。
用法
完成设置后,您可以开始使用Claude Desktop的这些强大扩展:
气象局
问克劳德世界各地的天气:
What's the current weather in New York City?
Will it rain in London tomorrow?
What's the temperature forecast for Tokyo this week?
LinkedIn个人资料抓取器
请Claude创建详细的专业简介摘要:
Create a proper profile page with the details of https://www.linkedin.com/in/parthasap/
Summarize the career trajectory of https://www.linkedin.com/in/anyprofile/
What skills does https://www.linkedin.com/in/someprofile/ have?
贡献
欢迎投稿!以下是您如何做出贡献:
- 分叉存储库
- 创建要素分支:
git checkout -b feature/amazing-feature - 提交您的更改:
git commit -m 'Add some amazing feature' - 推到分支:
git push origin feature/amazing-feature - 打开拉取请求
故障排除
如果您遇到问题:
- 验证配置中的所有路径是否正确
- 确保Python脚本可执行
- 检查是否安装了所有依赖项
- 查看Claude Desktop日志中的错误消息
- 验证您的
.env文件包含必要的API密钥
计划中的MCP服务器
我们正在积极开发更多的MCP服务器:
- 文档分析工具
- 日历集成
- 电子邮件撰写助手
- 代码库分析器
- 数据可视化工具
使用云托管MCP服务器
作为在本地运行MCP服务器的替代方案,您还可以使用Smithery.ai提供的云托管选项:
云托管MCP服务器的自动配置
- 访问 Smithery.ai
- 查找并复制所需云托管MCP服务器的命令
- 在计算机终端中运行该命令
- MCP配置文件将自动更新
- 重新启动Claude Desktop以使用新的MCP服务器
🚀 专业提示:云托管的MCP服务器可以补充您的本地服务器,为您提供两全其美的服务——敏感任务的本地处理和专门功能的云服务,而无需管理基础设施。
许可证
此项目根据MIT许可证获得许可-有关详细信息,请参阅许可证文件。
致谢
- Anthropic 为了创造克劳德
- Smithery.ai 用于提供云托管的MCP服务器
- 所有帮助塑造这个项目的贡献者
Made with ❤️ for the Claude community
Star this repo if you found it useful!
