Skip to main content
Glama

庆北 MCP

CI License: MIT

这是一个为AI代理提供庆北地区及公共数据的FastMCP服务器。

目前提供医院、公交车站、传统市场、各年龄段人口比例、地区安全等级,以及面向无车老年人的市场中心生活圈推荐工具。默认运行模式会将公共数据原始文件转换为SQLite进行查询,因此无需API认证密钥或外部服务器连接。各工具的输入、输出及数据限制请参考docs/

快速开始

需要Python 3.12及以上版本和uv

make sync
make data-setup
make run

make data-setup会下载data/sources.toml中固定的官方原始文件,验证SHA-256和文件格式后,创建本地SQLite数据库。无需API认证密钥。原始文件和生成的数据库不包含在Git和GitHub Release中。

当前基于已下载原始文件生成的快照包含:庆北医院及诊所3,415家、诊疗科目16,031项、庆北公交站点29,735个、浦项线路53条及线路模式196个、可进行发车判定的浦项线路51条、传统市场132个、年龄段数据3,949项、地区安全等级138项。

如有需要,可复制示例配置。文件模式下无需认证密钥。

cp .env.example .env
DATA_MODE=file
LOCAL_DATABASE_PATH=data/processed/gyeongbuk.sqlite3

仅在临时使用API模式时,才设置DATA_MODE=apiDATA_GO_KR_SERVICE_KEY。API模式仅适用于医院、公交车站和市场查询,人口及安全工具仍使用本地SQLite。.env文件被Git排除,同名的shell和CI环境变量优先于.env

Related MCP server: power-plan-db

MCP客户端注册

按如下方式注册到stdio MCP配置中。请将/absolute/path/gyeongbuk-mcp替换为仓库的实际绝对路径。

{
  "mcpServers": {
    "gyeongbuk": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/gyeongbuk-mcp",
        "run",
        "fastmcp",
        "run",
        "src/server.py"
      ]
    }
  }
}

命令

make run          # stdio MCP 서버 실행
make data-fetch   # 고정된 공식 원본 다운로드·검증
make data-check   # 네트워크 없이 기존 원본 검증
make data         # 기존 원본에서 로컬 SQLite 재생성
make data-setup   # 원본 다운로드 후 SQLite 생성
make format       # Ruff로 포매팅
make format-check # 포맷 변경 없이 검사
make lint         # Ruff 린트
make typecheck    # mypy 타입 체크
make test         # pytest 테스트
make audit        # Python 의존성 취약점 검사
make check        # 포맷, 린트, 타입, 테스트 전체 검사
make pre-commit   # 모든 파일에 pre-commit 훅 실행

每个命令也可以直接使用uv run ...执行。

如需参与开发,请参考CONTRIBUTING.md;报告漏洞请参考SECURITY.md

结构

src/
├── server.py       # FastMCP 서버 진입점
├── tools/          # MCP 도구 정의
├── services/       # 비즈니스 로직
├── clients/        # 외부 API 클라이언트
└── models/         # 입력/출력 모델
tests/
docs/                 # 도구 계약, 데이터 출처, 구현 계획
data/
├── raw/              # 직접 내려받은 원본(커밋 제외)
├── reference/        # 출처가 명시된 작은 보조 매핑
└── processed/        # 생성된 SQLite(커밋 제외)
scripts/
└── build_snapshot.py # 파일 정규화 진입점

许可证

源代码根据MIT License分发。公共数据原始文件、生成的SQLite数据库以及data/reference/中的派生审核资料不适用MIT许可证,需遵循各提供机构的使用条款。详细的来源标注和再分发政策请参考DATA_LICENSES.md

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for Korean government power/energy statutory plans. Enables AI agents to search and retrieve public power plan documents.
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Enables querying Korean public datasets (apartment prices, weather, air quality) via natural language using an MCP server and local LLM agent.
    5
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI to query real-time Korean public data including weather, real estate prices, air quality, economic indicators, and business registration via natural language.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Singapore property & financial data APIs for AI agents. 27 MCP tools. x402 micropayments.

  • The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.

  • Korean market data for AI agents: K-beauty/K-food products, Naver trends, stocks, real estate.

View all MCP Connectors

Latest Blog Posts

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/JunctionX-Korea-2026-JoyRide/gyeongbuk-mcp'

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