Skip to main content
Glama

Forest Fire Visualization MCP Server

森林火灾信息可视化MCP服务器

介绍

该项目是一个基于 Python 的 MCP 服务器,用于收集、分析和在地图上可视化野火发生数据。用户可以访问各种功能,包括区域野火发生信息、风险分析和地图可视化。


文件夹结构

MCP/ ├── README.md # 프로젝트 설명 문서 ├── forest_fire_mcp_server.py # MCP 서버 메인 파일 ├── forest_fire_data.py # 데이터 처리 모듈 ├── forest_fire_data.json # 산불 데이터 파일 ├── claude_desktop_config.json # Claude 설정 파일 ├── data/ # 산불 데이터 저장 폴더 └── venv/ # 가상환경 폴더(필요 시)

安装要求

安装 Python

如果您尚未安装 Python,请按照以下步骤进行安装:

  1. 前往Python 官方网站
  2. 点击页面顶部的黄色按钮“下载Python XXX”下载最新版本。
  3. 运行下载的安装程序。
  4. 安装屏幕上最重要的部分是**“将 Python.exe 添加到 PATH”**选项。
    • 请务必勾选此选项! (屏幕底部的复选框)
    • 此设置允许您从命令提示符运行 Python。
  5. 单击“立即安装”继续安装。
  6. 安装完成后,单击“关闭”按钮。

验证 Python 安装

  1. 按下键盘上的Windows 키 + R
  2. 在运行窗口中输入cmd ,然后单击确定。
  3. 在打开的命令提示符窗口中,键入以下命令并按 Enter:
    python --version
  4. 如果显示Python版本,则表示安装成功。示例: Python 3.12.0

安装所需的软件包

安装 Python 后,您需要安装所需的软件包:

  1. 在 Cursor AI 菜单终端中,单击新建终端。
  2. 键入以下命令并按 Enter:
    pip install mcp httpx requests
  3. 等待安装完成。
  4. 如果出现错误,请尝试以下命令:
    pip install --user mcp httpx requests

设置 Python 解释器

如果安装软件包后仍然出现错误,请检查 Python 解释器设置:

  1. Ctrl + Shift + P打开命令面板。
  2. 输入“Python:选择解释器”并选择它。
  3. 选择虚拟环境解释器:
    • ./venv/Scripts/python.exe

设置项目文件

准备项目文件

  1. 将此存储库中的所有文件下载到您计算机上的任意位置。
  2. 例如:创建一个文件夹C:\Users\사용자이름\Desktop\MCP并复制文件。

检查数据文件

  1. 确保forest_fire_data.json文件位于文件夹中。
  2. 该文件是包含野火数据的重要文件。

修改服务器配置文件

  1. 使用记事本打开forest_fire_mcp_server.py文件。
  2. 找到FOREST_FIRE_DATA_PATH变量并将其更改为您的实际路径:
# 예시: FOREST_FIRE_DATA_PATH = "C:/Users/사용자이름/Desktop/MCP/forest_fire_data.json"
  1. 保存并关闭文件。

运行服务器

方法 1:使用代码旁边的运行按钮

  1. 打开forest_fire_mcp_server.py文件。
  2. 单击文件内容左侧显示的▶️(运行)按钮。
    • Cursor AI 自动运行 Python 脚本。
    • 无需单独的命令输入。

方法 2:直接从终端运行

  1. 在 Cursor AI 菜单终端中,单击新建终端。
  2. 键入以下命令并按 Enter:
    python forest_fire_mcp_server.py

验证服务器正在运行

  1. 如果看到以下消息,则表示成功:
산불정보 시각화 MCP 서버가 시작되었습니다.
  1. 不要关闭这个终端!服务器必须保持运行。

设置 Claude 桌面应用程序

安装 Claude 桌面应用程序

  1. Claude 桌面应用程序下载页面下载安装程序。
  2. 运行下载的安装文件。
  3. 按照安装向导中的说明完成安装。

设置 Claude MCP

  1. 启动 Claude 应用程序。
  2. 在右上角的文件菜单中,单击设置(⚙️)图标。
  3. 在左侧菜单中选择“开发人员”选项卡。
  4. 单击“编辑设置”并指定文件C:/Users/사용자이름/Desktop/MCP/claude_desktop_config.json

重启 Claude 桌面应用程序

  1. 完全退出 Claude 桌面应用程序,然后重新启动它。
  2. 如果您在右上角看到锤子🔨图标,则表示您已成功连接到 MCP 服务器。
    • 如果锤子图标为灰色,则表示 MCP 服务器未运行。
    • 如果锤子图标为蓝色,则表示 MCP 服务器连接正常。

使用主要功能

您可以通过在 Claude 应用程序中输入以下命令来使用服务器的功能:

  1. 查看野火数据
    강원도의 2021년 산불 데이터를 알려줘
  2. 野火风险分析
    강원도 고성 지역의 산불 위험도는 어떻게 되나요?
  3. 在地图上查看
    강원도 고성의 산불 위치를 지도에서 보여줘

附加信息

Kakao Map API Key :这是默认设置的,所以不需要修改。

地图可视化:在网络浏览器中自动打开。

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    The MCP server provides an interface to the Datadog API, enabling seamless management of incidents, monitoring, logs, dashboards, metrics, traces, and hosts. Its extensible design allows easy integration of additional Datadog APIs for future expansions.
    Last updated -
    14
    602
    74
    TypeScript
    Apache 2.0
    • Apple
  • A
    security
    F
    license
    A
    quality
    An MCP server implementation that enables interaction with the Unstructured API, providing tools to list, create, update, and manage sources, destinations, and workflows.
    Last updated -
    39
    28
    • Apple
  • A
    security
    A
    license
    A
    quality
    An MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.
    Last updated -
    1
    Python
    MIT License
    • Linux
    • Apple
  • -
    security
    F
    license
    -
    quality
    An MCP server implementation that allows users to fetch and display weather information for specified cities, including temperature, humidity, wind speed, and weather descriptions.
    Last updated -
    Python
    • Linux
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daniel8824-del/forest-fire-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server