Suncture Healthcare MCP 서버
AI 보조자를 위한 의료 관련 도구를 제공하는 MCP(Model Context Protocol) 서버로, 이를 통해 사용자에게 실질적인 의료 정보를 제공할 수 있습니다.

특징
이 MCP 서버에는 다음과 같은 의료 도구가 포함되어 있습니다.
건강 권장 사항 도구( - 나이, 성별, 임신 상태에 따라 개인화된 건강 검진 및 예방 치료 권장 사항을 받아보세요.
약물 정보 도구( - 사용법, 복용량, 부작용, 상호작용을 포함한 약물에 대한 포괄적인 정보를 찾아보세요.
질병 정보 도구( - 증상, 치료, 예방 전략을 포함한 질병 및 건강 상태에 대한 정보를 찾아보세요.
BMI 계산기 도구( - 체질량지수(BMI)를 계산하고 결과에 따라 맞춤형 건강 권장 사항을 받아보세요.
증상 검사 도구( - 보고된 증상을 분석하고 사전 조언, 잠재적인 상태, 의료 서비스를 받아야 할 시기에 대한 지침을 얻으세요.
Related MCP server: pure.md MCP server
설치
NPM 패키지 설치
패키지를 글로벌하게 설치할 수 있습니다:
지엑스피1
또는 프로젝트 종속성으로:
npm install suncture-healthcare-mcp
필수 조건
Node.js(v18 이상)
npm(v7 이상)
지역 개발
# Clone the repository
git clone https://github.com/your-username/suncture-healthcare-mcp.git
cd suncture-healthcare-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm start
용법
명령줄 사용법
전역적으로 설치한 경우 명령줄에서 직접 서버를 실행할 수 있습니다.
환경 변수를 사용하여 서버를 구성할 수 있습니다.
# Run in REST mode
MCP_MODE=rest MCP_PORT=8080 suncture-healthcare-mcp
프로그래밍 방식 사용
Node.js 애플리케이션에서 패키지를 프로그래밍 방식으로 사용할 수도 있습니다.
import { server, runServer } from 'suncture-healthcare-mcp';
// Run with default settings (stdio mode)
runServer();
// Or with custom settings
runServer({
mode: 'rest', // 'stdio' or 'rest'
port: 8080, // Only used in REST mode
endpoint: '/api' // Only used in REST mode
});
// You can also access the server instance directly
console.log(server.name); // 'suncture-healthcare'
MCP 지원 AI 모델 사용
이 MCP 서버는 모델 컨텍스트 프로토콜(Model Context Protocol)을 지원하는 AI 모델과 함께 사용할 수 있습니다. 이 서버는 모델에서 호출하여 사용자에게 정보를 제공할 수 있는 의료 관련 도구를 제공합니다.
Claude 3.5 Sonnet의 예시 사용
import { Anthropic } from "@anthropic-ai/sdk";
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
// Connect to the healthcare MCP server
const healthcareMcp = new Client({ name: "healthcare-client", version: "1.0.0" });
const transport = new StdioClientTransport({
command: "suncture-healthcare-mcp", // Use the installed package
args: [],
});
healthcareMcp.connect(transport);
// Get available tools
const { tools } = await healthcareMcp.listTools();
// Initialize Anthropic client
const anthropic = new Anthropic({
apiKey: process.env.ANTHROPIC_API_KEY,
});
// Example: Use the symptom checker tool
const response = await anthropic.messages.create({
model: "claude-3-5-sonnet-20240620",
max_tokens: 1000,
messages: [
{
role: "user",
content: "I've been having a headache and fever for the past two days. What could it be?"
}
],
tools,
});
// Process tool calls from the model
for (const content of response.content) {
if (content.type === "tool_use") {
const result = await healthcareMcp.callTool({
name: content.name,
arguments: content.input,
});
console.log(result.content);
}
}
Docker 사용법
Docker를 사용하여 서버를 실행할 수도 있습니다.
# Build the Docker image
docker build -t suncture-healthcare-mcp .
# Run the container
docker run -i --rm suncture-healthcare-mcp
MCP.so 호스팅
이 서버는 MCP.so 에서 호스팅 가능하도록 설계되어 지원되는 AI 모델과 쉽게 통합할 수 있습니다.
부인 성명
이 MCP 서버에서 제공하는 의료 정보는 교육 목적으로만 제공되며, 전문적인 의학적 조언, 진단 또는 치료를 대체할 수 없습니다. 질병과 관련하여 궁금한 사항이 있으시면 언제든지 담당 의사 또는 기타 자격을 갖춘 의료 서비스 제공자에게 문의하십시오.
특허
MIT 라이센스