$npx skillfedfor your agent

mlserver

MLServer

With conditionsPyPI Artificial IntelligenceReleased Jun 2025166.1K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mlserver-1.7.1-py3-none-any.whl
v1.7.1 · released 2025-06-06 · Python <3.13,>=3.9 · 25 runtime deps: click, fastapi, python-dotenv, grpcio, numpy, pandas, protobuf, uvicorn

Yes, with conditions. MLServer is suitable for production model serving if you need KFServing V2 compliance, multi-model serving, or Kubernetes integration. However, the aging maintenance status warrants checking whether security patches and bug fixes align with your production requirements. Evaluate the 25 dependencies for your deployment footprint and confirm compatibility with Python 3.9–3.12. No known vulnerabilities are reported.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9–3.12 (3.13 unsupported).
  • Optional inference runtimes (e.g., mlserver-sklearn) must be installed separately to serve specific model frameworks.
  • Low install friction with a pure-Python wheel distribution.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial use and modification. Note that optional inference runtimes and frameworks used alongside MLServer may carry different licenses; consult their documentation for legal terms.

last release 2025-06-06 (434 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 166,120 downloads/mo, #10,509 on PyPI

Verify before relying

pip install mlserver

from mlserver import MLServer
from mlserver.settings import ServerSettings

settings = ServerSettings()
server = MLServer(settings=settings)
await server.start()
  • Whether aging maintenance status affects production readiness or security patching cadence.
  • Performance characteristics under high concurrency or large model counts in multi-model serving.
  • Compatibility and integration testing with specific Kubernetes distributions in your environment.
Same gist for agents: .md · .json

What it is and what it does

MLServer is a production-grade inference server that wraps machine learning models and exposes them via standardized REST and gRPC endpoints. It implements the KFServing V2 Dataplane protocol, allowing models to be served in a framework-agnostic way and integrated into Kubernetes-native platforms like Seldon Core and KServe. The server handles multi-model serving within a single process, supports adaptive batching to group requests on the fly, and can parallelize inference across worker pools for vertical scaling.

The package comes with 25 runtime dependencies covering FastAPI for HTTP handling, gRPC for RPC, OpenTelemetry for observability, Kafka for event streaming, and Pydantic for validation. It ships with pre-packaged runtimes for common frameworks (scikit-learn, XGBoost, LightGBM, HuggingFace, etc.), but you can also write custom runtimes. Installation is straightforward, though you must separately install framework-specific runtime packages to serve models from those frameworks.

Use it for

  • Serve multiple scikit-learn or XGBoost models from a single process with REST/gRPC endpoints.
  • Deploy models to Kubernetes using Seldon Core or KServe with MLServer as the core Python backend.
  • Implement adaptive batching to group inference requests and improve throughput for batch-friendly models.
  • Monitor and trace inference requests using OpenTelemetry integration for observability.
  • Build custom inference logic by writing a custom runtime and registering it with MLServer.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

MLServer is suitable for production model serving if you need KFServing V2 compliance, multi-model serving, or Kubernetes integration. However, the aging maintenance status warrants checking whether security patches and bug fixes align with your production requirements. Evaluate the 25 dependencies for your deployment footprint and confirm compatibility with Python 3.9–3.12. No known vulnerabilities are reported.

Install

mlserver on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 434 days ago—but the package remains in use. The 25 runtime dependencies are substantial (FastAPI, gRPC, OpenTelemetry, Kafka support) and should be reviewed for your deployment context.

Requires Python 3.9–3.12 (3.13 unsupported). Optional inference runtimes (e.g., mlserver-sklearn) must be installed separately to serve specific model frameworks.

License in practice

Licensed under Apache License 2.0 (permissive), allowing commercial use and modification. Note that optional inference runtimes and frameworks used alongside MLServer may carry different licenses; consult their documentation for legal terms.

Quickstart

pip install mlserver

from mlserver import MLServer
from mlserver.settings import ServerSettings

settings = ServerSettings()
server = MLServer(settings=settings)
await server.start()

Verify before relying

  • Whether aging maintenance status affects production readiness or security patching cadence.
  • Performance characteristics under high concurrency or large model counts in multi-model serving.
  • Compatibility and integration testing with specific Kubernetes distributions in your environment.

Package facts

LicenseApache-2.0 permissive
Python supportCapped below the current Python release <3.13,>=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
25 packages
clickfastapipython-dotenvgrpcionumpypandasprotobufuvicornstarlette-exporterpy-grpc-prometheusaiokafkatritonclientgeventhttpclientgeventaiofilesorjsonuvlooppydanticpydantic-settingspython-multipartimportlib-resourcesopentelemetry-sdkopentelemetry-instrumentation-fastapiopentelemetry-instrumentation-grpcopentelemetry-exporter-otlp-proto-grpc
MaintenanceAging 434 days since the last release
First released
Downloads166,120 / month, #10,509 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Evidence: mlserver-1.7.1-py3-none-any.whl

Tags

Capabilities
ml model serving rest apiinference server grpckfserving v2 protocolmulti-model serving frameworkmachine learning model deploymentadaptive batching inferencekubernetes model serving
Topics
model-servinginference-serverkubernetes

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “kfserving v2 protocol”

  • mlserverMLServer is an open-source inference server that exposes machine…
  • proxy-protocolParses and handles the PROXY protocol (v1 and v2) for asyncio-based…
  • pyodatapyodata is a Python client library that abstracts away OData protocol…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also mlserver-mlflow · kserve · tensorflow-serving-api · bentoml · smg-grpc-servicer · multi-model-server · litserve · vllm · sagemaker-serve · jina