Milvus
by LF AI & Data Foundation (created by Zilliz)
Open-source database for search by meaning.
Vector databasesOfficial MCP server
1. Price
No free tier on the pricing page. As reported on the official pricing page, checked Oct 10, 2026.
milvus.io2. Commercial use
“distributed with Apache 2.0 License, with Zilliz as its major contributor.”
Apache 2.0 allows use in paid products; keep the license and NOTICE when you ship Milvus code.
github.com/milvus-io/milvus/blob/master/README.md3. Key & sign-up
“After enabling authentication, you need to connect to Milvus using a username and password.”
No Milvus account or key. A self-hosted server with authentication on takes a token "user:password"; Milvus Lite needs no login. The token is a database password; keep it on your server and never in page code.
github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/adminGuide/authenticate.md4. Agent access
“This repository contains a MCP server that provides access to Milvus vector database functionality.”
Our agent check: 4 of 6 (Nov 13, 2026).
github.com/zilliztech/mcp-server-milvus/blob/main/README.mdChecked against the maker's official pages, pricing on Oct 10, 2026. Tap a verdict to see its source.How we checkedReport an error
What Milvus does
Milvus is a free, open-source database that you run yourself, not an online service with its own key. It stores texts, images or products as lists of numbers that capture their meaning, and finds the closest matches to a question. It runs inside a Python program on a laptop, on one server, or on a large cluster; the hosted version is sold as Zilliz Cloud.
- Milvus is one of 24 APIs in the Vector databases category on AgentGid.
- It is one of 19 that can be started for free.
- It ships an official MCP server, like 12 others here.
- Its official SDK is the 14th most downloaded in the category (1M a week).
What people build with it
Search your help pages by meaning
Visitors type "forgot my login" and still find the article "Reset your password", because Milvus compares meaning, not exact words.
Chatbot that answers from your files
Store your documents in Milvus, and let the chatbot pull the closest passages before it writes an answer.
Results in one language only
Search by meaning but keep only items with a given label, such as one language, one shop or one customer.
Similar products and films
Show "you may also like" items next to a product or a film, based on what the item is about.
Find duplicate photos
Spot near-identical images that users upload, so the same photo is not stored or listed twice.
Try it on a laptop first
Build and test your search inside one Python program with no server, then move the same code to a real server later.
Milvus popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
None
No monthly plan
—
Free self-hosted open source; the managed version is sold as Zilliz Cloud.
As reported on the official pricing page, checked Oct 10, 2026. Prices change: confirm before you buy.
Limits
Up to 32,768 numbers per vector
64 MB per insert, search or query request
Loaded data must stay under 90% of the query nodes' memory
From the official docs. github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/about/limitations.md
Key and access
No Milvus account or key. A self-hosted server with authentication on takes a token "user:password"; Milvus Lite needs no login.
none set by Milvus; the official MCP server reads MILVUS_URI and MILVUS_TOKENNo
Steps only a person can do
- Decide where Milvus runs in production (a server with Docker, Kubernetes, or Zilliz Cloud) and who pays for it. Put the address and login into .env as MILVUS_URI and MILVUS_TOKEN and read them on the server.
- On a self-hosted server, turn on authentication and set a new root password. Create a separate user for the app and use it as MILVUS_TOKEN (user:password).
Commercial use and your data
Milvus is open source under the Apache 2.0 license. You may use it for free in paid products and client work, change it and pass it on, if you keep the license and notices.
Apache 2.0 allows use in paid products; keep the license and NOTICE when you ship Milvus code.
“distributed with Apache 2.0 License, with Zilliz as its major contributor.” source
You may copy and pass on Milvus, changed or not, with a copy of the Apache 2.0 license and its notices.
“You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications” source
The Apache 2.0 license sets no limit on building for clients.
“distributed with Apache 2.0 License, with Zilliz as its major contributor.” source
Errors to handle
The server has authentication on and the token is missing or wrong
Check MILVUS_TOKEN (user:password) and the server address.
The search ran before the collection (or partition) was loaded into memory
Call load_collection() once after creating the index, then search.
Runtime errors that come from a client library version the server does not support
Check that the client version matches the server version before other fixes.
Use it from an agent
4 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page no, AI assistants allowed yes
Checked Nov 13, 2026.
MCP Server for Milvus (zilliztech/mcp-server-milvus, open source, runs locally)
uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530
npm install @zilliz/milvus2-sdk-nodepip install pymilvusInstructions in its docs to check first
“If you are using AI coding assistants like Claude Code or Cursor, you can install Milvus Skill to help your AI tools write correct Milvus code.”
Optional; installing a skill changes the person's assistant setup, so ask them first.
“Check PyPI (`pip install --upgrade pymilvus`) or npm for the current SDK version rather than relying on a memorized version number.”
Do not upgrade packages in the person's project on your own; pin the version they use and tell them about newer ones.
Alternatives
Milvus This page
Pick Zilliz Cloud when you want the same Milvus run for you as a service, with a free cluster to start.
Pick pgvector when your app already uses Postgres and you want vectors in the same database as your other tables.
Pick Qdrant Cloud for another open-source vector engine offered as a managed service with a free cluster.
Get started
Tell your AI assistant
“Add Milvus search to my app: prototype with Milvus Lite (pin pymilvus 3.0.2 and milvus-lite 3.2.2), use the MilvusClient API only, read MILVUS_URI and MILVUS_TOKEN from .env on the server, and never send the token to the browser.”
Install the Python client together with the local Milvus Lite engine (Python 3.10 or later).
python3 -m pip install "pymilvus[milvus-lite]==3.0.2" "milvus-lite==3.2.2"From github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/quickstart.md
Open a local database and create a collection with the size of your number lists.
from pymilvus import MilvusClient client = MilvusClient("milvus_demo.db") client.create_collection( collection_name="demo_collection", dimension=768, # The vectors we will use in this demo have 768 dimensions )From github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/quickstart.md
For production, run Milvus Standalone in Docker (or Distributed on Kubernetes), or use Zilliz Cloud, and connect with its address and token.
client = MilvusClient(uri="http://localhost:19530", token="root:Milvus")From github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/install-overview.md
First request
Milvus has no hosted service of its own; this is from the official Quickstart against local Milvus Lite (client and data made in the steps before). Zilliz Cloud is the hosted offer.
res = client.insert(collection_name="demo_collection", data=data)
print(res){'insert_count': 3, 'ids': [0, 1, 2], 'cost': 0}Mistakes to avoid
The docs call the ORM interface deprecated and say it will be removed.
There is no update method.
Vector fields cannot be added and field types cannot be changed in any version.
Lite 3.x uses a new storage format and cannot open 2.x files.
The default user and password are the same on every new install.
Questions
Does Milvus cost anything?
No license fee; it is open source under Apache 2.0. You pay only for the machine you run it on, or for Zilliz Cloud if you want it hosted.
Can I try it without a server or Docker?
Yes. Milvus Lite runs inside a Python program and keeps the data in a local folder.
Do I have to rewrite code to move from Lite to a server?
Not much. All modes share the same client interface; you change the address and the login.
Which languages have official clients?
Python (PyMilvus), Java, Go, Node.js and a REST interface; a C# client was contributed by Microsoft.
Can it do keyword search too?
Yes. Milvus has full text search (BM25) and can combine it with search by meaning.