PyThermoCalcDB-NASA-MCP
🧪 PyThermoCalcDB-NASA-MCP
PyThermoCalcDB-NASA-MCP는 에이전트 및 MCP 호환 클라이언트에서 선택된 pythermocalcdb-nasa 열역학 계산을 실행하기 위한 Model Context Protocol 서버입니다.
🌐 개요
MCP 패키지는 인터페이스 및 오케스트레이션 계층입니다. 구조화된 요청을 검증하고, ModelSource를 구축하며, 결정론적 pythermocalcdb-nasa 함수를 호출하고, JSON 안전 결과를 반환합니다. 과학적 계산 자체를 구현하지는 않습니다.
기본 소스 워크플로우는 pythermocalcdb-nasa에 포함된 내장 NASA-9 SQLite 데이터베이스를 사용합니다. 구성 요소를 로컬에서 사용할 수 없는 경우 MCP 서버는 구조화된 실패를 반환합니다. 외부 데이터 검색은 이 MCP 서버의 책임이 아닙니다. 다른 에이전트나 호출자가 완전한 pyThermoDB REFERENCE 콘텐츠를 준비하고 source: "reference"로 도구를 호출해야 합니다.
이 패키지를 사용하여 다음을 수행할 수 있습니다:
단일 구성 요소에 대한
H_T,S_T,G_T,Cp_T계산반응에 대한
dH_rxn_STD,dS_rxn_STD,dG_rxn_STD,Keq,Keq_vh_shortcut계산외부에서 준비된 pyThermoDB YAML 참조 콘텐츠 검증
Related MCP server: MoziChem-MCP
📦 설치
pip install pythermocalcdb-nasa-mcp로컬 개발의 경우:
uv sync▶️ 실행
STDIO가 기본 전송 방식입니다:
pythermocalcdb-nasa-mcp --mode stdioHTTP 전송도 지원됩니다:
pythermocalcdb-nasa-mcp --mode http --host 127.0.0.1 --port 8000 --path /mcp로컬 체크아웃에서 실행:
uv run pythermocalcdb-nasa-mcp --mode stdio🔌 MCP 클라이언트 구성
🧵 STDIO:
{
"mcpServers": {
"pythermocalcdb-nasa": {
"command": "pythermocalcdb-nasa-mcp",
"args": ["--mode", "stdio"]
}
}
}🌍 HTTP:
{
"mcpServers": {
"pythermocalcdb-nasa": {
"url": "http://127.0.0.1:8000/mcp"
}
}
}🕵️ MCP 인스펙터
공식 MCP 인스펙터로 서버를 테스트할 수 있습니다.
로컬 체크아웃에서 직접 STDIO 테스트:
npx @modelcontextprotocol/inspector uv run pythermocalcdb-nasa-mcp --mode stdioHTTP 테스트의 경우, 먼저 서버를 시작하세요:
uv run pythermocalcdb-nasa-mcp --mode http --host 127.0.0.1 --port 8000 --path /mcp그런 다음 인스펙터를 다음에 연결하세요:
http://127.0.0.1:8000/mcp📚 MCP 리소스
pythermocalcdb-nasa://references/nasa-requirements소스 정책, NASA 기호, 단위, 온도 범위 및 에이전트 경계
pythermocalcdb-nasa://workflows/species-propertiesH_T,S_T,G_T,Cp_T에 대한 워크플로우
pythermocalcdb-nasa://workflows/reaction-propertiesdH_rxn_STD,dS_rxn_STD,dG_rxn_STD,Keq,Keq_vh_shortcut에 대한 워크플로우
pythermocalcdb-nasa://guidance/agent-checklist안정적인 데이터베이스 우선 및 참조 기반 호출을 위한 체크리스트
🧰 MCP 도구
🔥 종(Species) 도구:
calc_H_Tcalc_S_Tcalc_G_Tcalc_Cp_T
⚗️ 반응 도구:
calc_dH_rxn_STDcalc_dS_rxn_STDcalc_dG_rxn_STDcalc_Keqcalc_Keq_vh_shortcut
🛠️ 유틸리티 도구:
check_yaml_reference
📝 입력 모델 참고 사항
계산 도구는 request라는 하나의 Pydantic 인수를 받습니다. pythermodb_settings의 공유 도메인 모델(Component, Temperature, ComponentKey 포함)을 사용합니다.
🗄️ 데이터베이스 기반 종 요청:
{
"request": {
"component": {
"name": "carbon dioxide",
"formula": "CO2",
"state": "g"
},
"temperature": {
"value": 300.0,
"unit": "K"
},
"source": "database",
"component_key": "Name-Formula",
"nasa_type": "nasa9",
"basis": "molar"
}
}📄 참조 기반 종 요청:
{
"request": {
"component": {
"name": "component name from prepared reference",
"formula": "Formula",
"state": "g"
},
"temperature": {
"value": 300.0,
"unit": "K"
},
"source": "reference",
"reference_content": "REFERENCES:\n ...",
"component_key": "Name-Formula",
"nasa_type": "nasa9",
"basis": "molar"
}
}🗄️ 데이터베이스 기반 반응 요청:
{
"request": {
"name": "Water-Gas Shift Reaction",
"reaction": "CO(g) + H2O(g) => CO2(g) + H2(g)",
"components": [
{"name": "carbon monoxide", "formula": "CO", "state": "g"},
{"name": "dihydrogen monoxide", "formula": "H2O", "state": "g"},
{"name": "carbon dioxide", "formula": "CO2", "state": "g"},
{"name": "dihydrogen", "formula": "H2", "state": "g"}
],
"temperature": {
"value": 398.15,
"unit": "K"
},
"source": "database",
"component_key": "Name-Formula",
"nasa_type": "nasa9"
}
}van't Hoff 단축 추정이 요청될 때 calc_Keq_vh_shortcut과 동일한 반응 요청 형태를 사용하세요. 무차원 평형 상수를 반환합니다.
응답은 다음 계약을 따릅니다:
{
"success": true,
"message": "H_T completed successfully.",
"results": {
"operation": "H_T",
"value": 0.0,
"unit": "J/mol"
},
"analysis": {
"source": "database"
},
"warnings": []
}✅ 모범 사례
지원되는
g,l,s상에서 NASA-9 데이터에 대해 먼저source: "database"를 사용하세요.완전히 외부에서 준비된
reference_content가 있는 경우에만source: "reference"를 사용하세요.이 MCP 서버에 외부 과학 데이터를 검색하도록 요청하지 마세요.
온도 입력은 켈빈 단위로 유지하세요.
모든 반응 종이 반응식과
components모두에 나타나는지 확인하세요.데이터베이스 소스와 함께
nasa_type: "nasa9"를 사용하세요.결과를 보고하기 전에
success,message,warnings를 확인하세요.
🧪 개발 빠른 확인
python -m py_compile pythermocalcdb_nasa_mcp/server.py
python -m py_compile pythermocalcdb_nasa_mcp/interface/core.py
python -m py_compile pythermocalcdb_nasa_mcp/models/nasa.py
python -m unittest discover tests🚀 예제
예제 페이로드 형태는 examples/request_payloads.py에서 확인할 수 있습니다.
📄 라이선스
이 프로젝트는 Apache License 2.0에 따라 라이선스가 부여됩니다. LICENSE를 참조하세요.
👤 저자
Maintenance
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
- AlicenseBqualityDmaintenanceEnables AI assistants to perform complex chemical engineering calculations including thermodynamic modeling, equation of state calculations, phase equilibrium computations, and vapor-liquid equilibrium analysis. Built on the MoziChem framework to bridge AI language models with specialized chemical engineering tools.64MIT
- Alicense-qualityDmaintenanceA collection of MCP servers for chemical engineering and chemistry applications, enabling AI assistants to perform thermodynamic calculations, equation of state modeling, and phase equilibrium computations.MIT
- Alicense-qualityDmaintenanceA modular Python toolkit exposing chemical engineering calculations (thermodynamics, flash equilibria, property databases) as MCP servers for AI and application integration.6MIT
- AlicenseAqualityBmaintenanceAn MCP server that wraps Cantera to enable LLMs to perform accurate thermodynamic, transport, equilibrium, and chemical kinetics calculations.154MIT
Related MCP Connectors
Science MCP — free science data APIs
Materials MCP — computed (DFT) materials structures & thermodynamic properties.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/sinagilassi/PyThermoCalcDB-NASA-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server