Command Palette

Search for a command to run...

UnylyUnyly
Browse all

VecMed

FreeNot checked

This is the workflow and scripts to help you build a Milvus vector database with search logics.

GitHubEmbed

About

This is the workflow and scripts to help you build a Milvus vector database with search logics.

README

Project Overview

47c3a52e549d46a9bbdee82e38fe4b79~tplv-5jbd59dj06-image

This repository provides tools to establish and manage a Milvus vector database for medical data, specifically designed for rare disease research. It includes scripts for database initialization, data ingestion, search functionality, LLM-based result summarization, and scheduled updates.

File Descriptions

File Name Purpose
docker-compose.yml Used to initialize MilvusDB
setup_milvus.py Formulates the database schema
download_pubmed_tomilvusdb.py Handles timely updates (currently set to 30 days)
search_milvusdb.py Tests search functionality in MilvusDB
llm_process_search_result.py Experiments with summarizing search results using LLM
updating_milvusdb.log Records database updating operations

ATTU WebUI

The ATTU WebUI provides a visual interface to:

  • View all database records
  • Manage collections and schemas
  • No authentication required

Current Collection: pubmed_rare_disease_db contains over 160,000 PubMed records related to rare diseases.

Attu WebUI

Environment Configuration

Launch Milvus with Docker Compose

docker compose up -d

Install Required Dependencies

pip install marshmallow==3.20.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install Flask -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install pymilvus -U -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install "mcp[cli]" -i https://pypi.tuna.tsinghua.edu.cn/simple

Set Up ATTU WebUI

docker pull zilliz/attu:v2.4.4
docker run -d --name attu -p 8000:3000 -e MILVUS_URL=192.168.10.199:19530 zilliz/attu:v2.4.4

Workflow

The general workflow can be adapted for various database types beyond medical articles:

  1. Build your custom Milvus database with a designed collection schema using the main folder code (steps 1-5)
  2. Download required data and store it in your vector database (see download_pubmed_2015-2025 subfolder)
  3. Launch the MCP server with HTTP API service or modify to use stdin transport (see pubmed-mcp-server subfolder)
  4. Set up timer-based database updates using download_pubmed_to_milvusdb_2.py
  5. Integrate the MCP server into your agent/LLM/workflow (example integration with Dify workflow provided)
image

Scheduled Database Updates

Add a New Cron Job

crontab -e

View Existing Cron Jobs

crontab -l

Author

David Qu
Undergraduate Researcher | AI Algorithm Engineer
University of Toronto Scarborough - Department of Computer Science
📧 [email protected]

from github.com/davidqu921/VecMed-MCP

Installing VecMed

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/davidqu921/VecMed-MCP

FAQ

Is VecMed MCP free?

Yes, VecMed MCP is free — one-click install via Unyly at no cost.

Does VecMed need an API key?

No, VecMed runs without API keys or environment variables.

Is VecMed hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install VecMed in Claude Desktop, Claude Code or Cursor?

Open VecMed on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare VecMed with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs