gpaasch commited on
Commit
23867a8
·
1 Parent(s): 40e71b1

finalized my winning idea for this hackathon, starting to build my knowledge base file based on ICD10

Browse files
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ venv
hf-mcp-hackathon/idea.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Develop a medical-symptom MCP server that takes patient-entered symptoms, maps them to ICD-10 codes via a local knowledge base, and returns a JSON of probable diagnoses with confidence scores.knowledge_base.json
hf-mcp-hackathon/plan.md CHANGED
@@ -2,7 +2,7 @@
2
  - [x] Complete the registration form before June 8 2025 11:59 PM UTC
3
  - [x] (MCP track selected)Decide on one of three tracks: MCP Server/Tool, Custom Component, or Agentic Demo.
4
  - [x] (https://huggingface.co/blog/gradio-mcp) Download or clone the relevant starter template (MCP server boilerplate, custom component template, or basic agent demo).
5
- - [ ] Review the "Getting Started with MCP with Gradio" and "Gradio Component Development Guide" documentation.
6
  - [ ] Set up a local development environment with Python, Gradio 5, and any required SDKs (OpenAI, Anthropic, etc.) using provided API credits.
7
  - [ ] Implement the required features:
8
  - [ ] For Track 1, build a Gradio app that functions as an MCP server and test with an MCP client.
 
2
  - [x] Complete the registration form before June 8 2025 11:59 PM UTC
3
  - [x] (MCP track selected)Decide on one of three tracks: MCP Server/Tool, Custom Component, or Agentic Demo.
4
  - [x] (https://huggingface.co/blog/gradio-mcp) Download or clone the relevant starter template (MCP server boilerplate, custom component template, or basic agent demo).
5
+ - [x] Review the "Getting Started with MCP with Gradio" and "Gradio Component Development Guide" documentation.
6
  - [ ] Set up a local development environment with Python, Gradio 5, and any required SDKs (OpenAI, Anthropic, etc.) using provided API credits.
7
  - [ ] Implement the required features:
8
  - [ ] For Track 1, build a Gradio app that functions as an MCP server and test with an MCP client.
knowledge_base.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "symptom_to_icd": {
3
+ "fever": ["R50.9"],
4
+ "cough": ["R05"],
5
+ "headache": ["R51"]
6
+ },
7
+ "icd_to_diagnosis": {
8
+ "R50.9": "Fever, unspecified",
9
+ "R05": "Cough",
10
+ "R51": "Headache"
11
+ }
12
+ }
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio[mcp]