
Model-Context-Protocol Servers

Overview
基本能力
产品定位
Model-Context-Protocol Servers 是一个多功能服务器集合,旨在通过 MCP 协议提供多样化的数据爬取、代码分析、AI 模型访问和 JSON 数据管理服务。
核心功能
- Leafly Cannabis Strain Data Scraper
- 从 Leafly.com 爬取结构化的大麻品种数据,包含 66 个标准化数据点。
- 支持正则表达式和 LLM 两种数据提取方法。
-
数据导出为 CSV 或 JSON 格式。
-
Python Codebase MCP Server
- 提供代码分析功能,包括文件系统导航、代码搜索、项目结构分析等。
-
支持实时文件变更监控和依赖分析。
-
DeepSeek R1 extended MCP Server
- 提供 DeepSeek AI 模型的访问,支持文本生成、摘要、文档处理等功能。
-
支持多模型和流式文本生成。
-
JSON Manager MCP Server
- 提供高级 JSON 查询和操作功能,支持 JSONPath 查询、数据过滤和比较等。
适用场景
- 数据爬取:适用于需要从 Leafly.com 获取大麻品种数据的场景。
- 代码分析:适用于开发人员需要分析和管理代码库的场景。
- AI 文本处理:适用于需要生成、摘要或分析文本的场景。
- JSON 数据处理:适用于需要高效查询和操作 JSON 数据的场景。
工具列表
- Leafly Scraper Tools
firecrawl_leafly_strain
:爬取指定大麻品种数据。-
firecrawl_extract
:使用 LLM 提取数据。 -
Python Codebase Tools
search_function
:查找函数定义。search_code
:代码文本搜索。-
get_project_structure
:生成项目结构。 -
DeepSeek Tools
deepseek_r1
:文本生成。deepseek_summarize
:文本摘要。-
deepseek_stream
:流式文本生成。 -
JSON Manager Tools
query
:JSONPath 查询。filter
:数据过滤。compare_json
:JSON 数据比较。
常见问题解答
- API Key 问题:确保设置了正确的 Firecrawl API Key,否则会返回 401 错误。
- TypeScript 错误:确保安装了所有依赖和 @types 包。
使用教程
使用依赖
- Node.js 18+:用于运行 Leafly Scraper 和 JSON Manager。
- Python 3.7+:用于运行 Python Codebase MCP Server。
- Firecrawl API Key:用于 Leafly Scraper。
安装教程
-
Leafly Scraper
bash cd firecrawl-mcp-server npm install cp .env.example .env nano .env # 添加 API Key npm run build
-
Python Codebase MCP Server
bash pip install mcp-python-sdk watchdog
-
DeepSeek MCP Server
bash npm install @modelcontextprotocol/sdk openai dotenv echo "DEEPSEEK_API_KEY=your_api_key_here" > .env
-
JSON Manager MCP Server
bash npm install @modelcontextprotocol/sdk node-fetch jsonpath
调试方式
-
Leafly Scraper
bash export FIRECRAWL_API_KEY=your_api_key_here npm run scrape-leafly -- output.csv "Blue Dream,OG Kush,Sour Diesel"
-
Python Codebase MCP Server
bash python mcp_server.py
-
DeepSeek MCP Server
bash node deepseek_mcp.js
-
JSON Manager MCP Server
bash node json_mcp.js