VecMed
FreeNot checkedThis is the workflow and scripts to help you build a Milvus vector database with search logics.
About
This is the workflow and scripts to help you build a Milvus vector database with search logics.
README
Project Overview
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.

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:
- Build your custom Milvus database with a designed collection schema using the main folder code (steps 1-5)
- Download required data and store it in your vector database (see
download_pubmed_2015-2025subfolder) - Launch the MCP server with HTTP API service or modify to use stdin transport (see
pubmed-mcp-serversubfolder) - Set up timer-based database updates using
download_pubmed_to_milvusdb_2.py - Integrate the MCP server into your agent/LLM/workflow (example integration with Dify workflow provided)
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]
Installing VecMed
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/davidqu921/VecMed-MCPFAQ
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
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolRedis
Interact with Redis key-value stores.
by modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
by modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
by raw-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
by tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
by julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
by drakonkatCompare VecMed with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
