mgbam commited on
Commit
250d62e
Β·
verified Β·
1 Parent(s): ff65a8e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +97 -9
README.md CHANGED
@@ -13,15 +13,103 @@ short_description: Streamlit template space
13
 
14
  # AI-Powered Scientific Research Companion
15
 
16
- This repository implements an AI-driven research assistant using the Model Context Protocol (MCP). It enables end-to-end capabilities:
17
 
18
- - πŸ” **Discovery & Ingestion**: Search journals, preprint servers, and web via MCP servers (e.g. `pskill9/web-search`, `metatool-ai/metatool-app`).
19
- - πŸ““ **Reproducible Notebook**: Retrieve and run code snippets for core experiments via a Python-run MCP server.
20
- - πŸ”— **Knowledge Graph**: Build and visualize relationships (methods, datasets, concepts) via a vector-store MCP (e.g. Chroma).
21
- - πŸ”§ **Provenance Tracking**: Store metadata and run history in a SQL database via MCP.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
- ## Getting Started
24
- 1. Clone this repo:
 
25
  ```bash
26
- git clone https://huggingface.co/spaces/your-username/MCP_Research
27
- cd MCP_Research
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  # AI-Powered Scientific Research Companion
15
 
16
+ Welcome to your AI-driven research assistantβ€”hosted as a Hugging Face Space!
17
 
18
+ ---
19
+
20
+ ## πŸš€ Live Demo
21
+
22
+ πŸ‘‰ https://huggingface.co/spaces/your-username/MCP_Research
23
+
24
+ ---
25
+
26
+ ## Features
27
+
28
+ - πŸ” **One-Click Discovery**
29
+ Search academic articles, preprints, and the open web via MCP servers (`pskill9/web-search`, `metatool-ai/metatool-app`).
30
+
31
+ - πŸ““ **Reproducible Notebook**
32
+ Fetch and run code snippets for core experiments using a Python-run MCP sandbox.
33
+
34
+ - πŸ”— **Interactive Knowledge Graph**
35
+ Build and explore concept‐and‐method graphs via a vector-store MCP (Chroma).
36
+
37
+ - πŸ› οΈ **Provenance Tracking**
38
+ Store metadata and execution history in a SQL database via MCP.
39
+
40
+ - 🎨 **Light & Dark Themes**
41
+ Toggle UI themes for day/night readability.
42
+
43
+ ---
44
 
45
+ ## πŸ”§ Setup
46
+
47
+ 1. **Fork or Clone**
48
  ```bash
49
+ git clone https://huggingface.co/spaces/your-username/MCP_Research.git
50
+ cd MCP_Research
51
+ Configure Endpoints
52
+ Copy and edit config.example.yaml β†’ config.yaml:
53
+
54
+ yaml
55
+ Copy code
56
+ mcp_servers:
57
+ web_search: http://localhost:3000
58
+ pubmed: http://localhost:3001
59
+ chroma: http://localhost:3002
60
+ python_run: http://localhost:3003
61
+ db_url: sqlite:///embeddings.db
62
+ Install Dependencies
63
+
64
+ bash
65
+ Copy code
66
+ pip install -r requirements.txt
67
+ Run Locally (optional)
68
+
69
+ bash
70
+ Copy code
71
+ streamlit run app.py --server.port 8501 --server.address 0.0.0.0
72
+ πŸ“¦ Deployment on Hugging Face
73
+ Create a New Space
74
+
75
+ Choose Streamlit as the runtime.
76
+
77
+ Push your repo to the Space.
78
+
79
+ Environment Variables / Secrets
80
+ In your Space’s Settings β†’ Secrets, add any API keys or credentials required by your MCP endpoints.
81
+
82
+ Automatic Build & Launch
83
+ HF will install from requirements.txt and launch app.py automatically.
84
+
85
+ πŸ“ Project Layout
86
+ arduino
87
+ Copy code
88
+ β”œβ”€β”€ .gitignore
89
+ β”œβ”€β”€ README.md
90
+ β”œβ”€β”€ config.yaml
91
+ β”œβ”€β”€ requirements.txt
92
+ β”œβ”€β”€ Dockerfile
93
+ β”œβ”€β”€ app.py
94
+ β”œβ”€β”€ orchestrator/
95
+ β”‚ β”œβ”€β”€ client.py
96
+ β”‚ β”œβ”€β”€ dispatcher.py
97
+ β”‚ └── provenance.py
98
+ β”œβ”€β”€ components/
99
+ β”‚ β”œβ”€β”€ sidebar.py
100
+ β”‚ β”œβ”€β”€ paper_list.py
101
+ β”‚ β”œβ”€β”€ notebook_view.py
102
+ β”‚ └── graph_view.py
103
+ β”œβ”€β”€ scripts/
104
+ β”‚ β”œβ”€β”€ ingest.py
105
+ β”‚ └── reindex.py
106
+ └── demo.ipynb
107
+ 🀝 Contribute
108
+ ⭐ Star this Space
109
+
110
+ πŸ› Report issues or suggest features
111
+
112
+ πŸ”€ Submit PRs β€” we welcome enhancements and new MCP integrations!
113
+
114
+ πŸ“œ License
115
+ MIT Β© 2025