MCP server for Material Safety Data Sheets from Korea Occupational Safety and Health Agency
Project description
MSDS Chemical Info MCP Server
물질안전보건자료(MSDS) 정보를 제공하는 MCP 서버입니다. Material Safety Data Sheets (MSDS) information provider for chemical substances from Korea Occupational Safety and Health Agency (KOSHA).
📋 Overview
이 MCP 서버는 한국산업안전보건공단(KOSHA)에서 제공하는 화학물질 MSDS 정보를 조회할 수 있는 도구를 제공합니다.
Key features:
- 🔍 화학물질 검색 (한글명, CAS No., UN No., KE No., EN No.)
- 📊 16개 섹션의 완전한 MSDS 정보 제공
- ⚠️ 유해성·위험성 정보
- 🧪 물리화학적 특성 및 독성 정보
- 📋 법적 규제현황 및 폐기시 주의사항
- 🚨 응급조치요령 및 누출사고 대처방법
🚀 Installation
Via PyPI
pip install data-go-mcp.msds-chemical-info
Via UV (Recommended)
uvx data-go-mcp.msds-chemical-info
🔑 Configuration
Getting an API Key
- Visit data.go.kr
- Sign up for an account
- Search for "물질안전보건자료(MSDS)" API
- Apply for API access
- Get your service key from the API management page
Environment Setup
Set your API key as an environment variable:
export API_KEY="your-api-key-here"
Claude Desktop Configuration
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"msds-chemical-info": {
"command": "uvx",
"args": ["data-go-mcp.msds-chemical-info@latest"],
"env": {
"API_KEY": "your-api-key-here"
}
}
}
}
🛠️ Available Tools
1. search_chemicals
화학물질을 검색합니다.
Parameters:
search_term(required): 검색어 (화학물질명 또는 번호)search_type(optional): 검색 타입 (자동 감지됨)KOREAN_NAME: 한글명 검색CAS_NO: CAS 번호 검색UN_NO: UN 번호 검색KE_NO: KE 번호 검색EN_NO: EN 번호 검색
page_no: 페이지 번호 (default: 1)num_of_rows: 페이지당 결과 수 (default: 10, max: 100)
Example:
"벤젠의 MSDS 정보를 찾아줘"
"Search for CAS number 71-43-2"
"UN1114 화학물질 정보 조회"
2. get_chemical_safety_summary
화학물질의 핵심 안전정보를 조회합니다 (섹션 1-4).
Parameters:
chem_id(required): 화학물질ID (6자리)
Returns:
- Section 1: 화학제품과 회사에 관한 정보
- Section 2: 유해성·위험성
- Section 3: 구성성분의 명칭 및 함유량
- Section 4: 응급조치요령
3. get_chemical_handling_info
화학물질의 취급 및 보호 정보를 조회합니다 (섹션 5-8).
Returns:
- Section 5: 폭발·화재시 대처방법
- Section 6: 누출사고시 대처방법
- Section 7: 취급 및 저장방법
- Section 8: 노출방지 및 개인보호구
4. get_chemical_properties
화학물질의 물리화학적 특성 및 독성 정보를 조회합니다 (섹션 9-12).
Returns:
- Section 9: 물리화학적 특성
- Section 10: 안정성 및 반응성
- Section 11: 독성에 관한 정보
- Section 12: 환경에 미치는 영향
5. get_chemical_regulatory_info
화학물질의 규제 및 폐기 정보를 조회합니다 (섹션 13-16).
6. get_chemical_section
특정 섹션의 정보만 조회합니다.
Parameters:
chem_id(required): 화학물질IDsection_number(required): 섹션 번호 (1-16)
7. get_complete_msds
화학물질의 전체 MSDS 정보를 조회합니다 (모든 16개 섹션).
📖 Usage Examples
Example 1: 벤젠 안전정보 조회
User: "벤젠의 MSDS 정보를 알려줘"
Assistant uses: search_chemicals("벤젠")
→ Returns chem_id: "000100"
Then: get_chemical_safety_summary("000100")
→ Returns sections 1-4 with safety information
Example 2: CAS 번호로 검색
User: "CAS 번호 71-43-2 화학물질 정보"
Assistant uses: search_chemicals("71-43-2")
→ Automatically detects CAS format and returns results
Example 3: 특정 정보 조회
User: "메탄올의 독성 정보만 알려줘"
1. search_chemicals("메탄올") → get chem_id
2. get_chemical_section(chem_id, 11) → Section 11 독성 정보
🧪 Common Chemical Examples
| Chemical Name (한글명) | CAS No. | UN No. | KE No. |
|---|---|---|---|
| 벤젠 | 71-43-2 | UN1114 | KE-02380 |
| 메탄올 | 67-56-1 | UN1230 | KE-23193 |
| 황산 | 7664-93-9 | UN1830 | KE-32570 |
| 암모니아 | 7664-41-7 | UN1005 | KE-01896 |
| 톨루엔 | 108-88-3 | UN1294 | KE-33936 |
📝 MSDS Sections Reference
- 화학제품과 회사에 관한 정보: Product identification
- 유해성·위험성: Hazards identification
- 구성성분의 명칭 및 함유량: Composition
- 응급조치요령: First aid measures
- 폭발·화재시 대처방법: Fire-fighting measures
- 누출사고시 대처방법: Accidental release measures
- 취급 및 저장방법: Handling and storage
- 노출방지 및 개인보호구: Exposure controls/PPE
- 물리화학적 특성: Physical/chemical properties
- 안정성 및 반응성: Stability and reactivity
- 독성에 관한 정보: Toxicological information
- 환경에 미치는 영향: Ecological information
- 폐기시 주의사항: Disposal considerations
- 운송에 필요한 정보: Transport information
- 법적 규제현황: Regulatory information
- 그 밖의 참고사항: Other information
Development
Setup
# Clone the repository
git clone https://github.com/datago-mcp/data-go-mcp-servers.git
cd data-go-mcp-servers/src/msds-chemical-info
# Install dependencies
uv sync
Testing
# Run tests
uv run pytest tests/
# Run with coverage
uv run pytest tests/ --cov=data_go_mcp.msds_chemical_info
Running Locally
# Set your API key
export API_KEY="your-api-key"
# Run the server
uv run python -m data_go_mcp.msds_chemical_info.server
API Documentation
For detailed API documentation, visit: https://msds.kosha.or.kr/openapi/service/msdschem
License
Apache License 2.0
Contributing
Contributions are welcome! Please see the main repository for contribution guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file data_go_mcp_msds_chemical_info-0.1.0.tar.gz.
File metadata
- Download URL: data_go_mcp_msds_chemical_info-0.1.0.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fc18fc3c77726f12a255bc7476b9ca243e597de9424a29dbdd376e618ea35cb
|
|
| MD5 |
a8502b02248f2342536cb8a9e94938f4
|
|
| BLAKE2b-256 |
12c23ba4728499350c39b1c12976bef8ae1e1d287c67727569ae7477ae8ba855
|
File details
Details for the file data_go_mcp_msds_chemical_info-0.1.0-py3-none-any.whl.
File metadata
- Download URL: data_go_mcp_msds_chemical_info-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0eeb77f74e3d2d0c8c72a462b6ff18a819d411d1b0b0451dc0728a6eca8dfff4
|
|
| MD5 |
c7156bf6a6dcdda3dc62932a2216bc5b
|
|
| BLAKE2b-256 |
15ad8eea2bbabbb0fe1fc71d1cd87ee3296dd1cfff079b0986ff8cd14c4ed1c9
|