openbmb / MiniCPM4-MCP

huggingface.co
Total runs: 5.4K
24-hour runs: 0
7-day runs: 903
30-day runs: 5.4K
Model's Last Updated: June 10 2025
text-generation

Introduction of MiniCPM4-MCP

Model Details of MiniCPM4-MCP

GitHub Repo | Technical Report

👋 Join us on Discord and WeChat

What's New
  • [2025.06.06] MiniCPM4 series are released! This model achieves ultimate efficiency improvements while maintaining optimal performance at the same scale! It can achieve over 5x generation acceleration on typical end-side chips! You can find technical report here .🔥🔥🔥
MiniCPM4 Series

MiniCPM4 series are highly efficient large language models (LLMs) designed explicitly for end-side devices, which achieves this efficiency through systematic innovation in four key dimensions: model architecture, training data, training algorithms, and inference systems.

  • MiniCPM4-8B : The flagship of MiniCPM4, with 8B parameters, trained on 8T tokens.
  • MiniCPM4-0.5B : The small version of MiniCPM4, with 0.5B parameters, trained on 1T tokens.
  • MiniCPM4-8B-Eagle-FRSpec : Eagle head for FRSpec, accelerating speculative inference for MiniCPM4-8B.
  • MiniCPM4-8B-Eagle-FRSpec-QAT-cpmcu : Eagle head trained with QAT for FRSpec, efficiently integrate speculation and quantization to achieve ultra acceleration for MiniCPM4-8B.
  • MiniCPM4-8B-Eagle-vLLM : Eagle head in vLLM format, accelerating speculative inference for MiniCPM4-8B.
  • MiniCPM4-8B-marlin-Eagle-vLLM : Quantized Eagle head for vLLM format, accelerating speculative inference for MiniCPM4-8B.
  • BitCPM4-0.5B : Extreme ternary quantization applied to MiniCPM4-0.5B compresses model parameters into ternary values, achieving a 90% reduction in bit width.
  • BitCPM4-1B : Extreme ternary quantization applied to MiniCPM3-1B compresses model parameters into ternary values, achieving a 90% reduction in bit width.
  • MiniCPM4-Survey : Based on MiniCPM4-8B, accepts users' quiries as input and autonomously generate trustworthy, long-form survey papers.
  • MiniCPM4-MCP : Based on MiniCPM4-8B, accepts users' queries and available MCP tools as input and autonomously calls relevant MCP tools to satisfy users' requirements. ( <-- you are here )
Introduction

MiniCPM4-MCP is an open-source on-device LLM agent model jointly developed by THUNLP , Renmin University of China and ModelBest , built on MiniCPM-4 with 8 billion parameters. It is capable of solving a wide range of real-world tasks by interacting with various tool and data resources through MCP.

Usage

As of now, MiniCPM4-MCP supports the following:

  • Utilization of tools across 16 MCP servers: These servers span various categories, including office, lifestyle, communication, information, and work management.

  • Single-tool-calling capability: It can perform single- or multi-step tool calls using a single tool that complies with the MCP.

  • Cross-tool-calling capability: It can perform single- or multi-step tool calls using different tools that complies with the MCP.

Inference
MCP Servers Deployment

The MCP Servers supported by MiniCPM4-MCP include Airbnb , Amap-Maps , Arxiv-MCP-Server , Calculator , Computer-Control-MCP , Desktop-commander , Filesystem , Github , Gaode , MCP-Code-Executor , MCP-DOCx , PPT , PPTx , Simple-Time-Server , Slack , and Whisper . Follow the instructions provided in each server's repository for successful deployment. Note that not all tools in these servers will function properly in every environment. Some tools are unstable and may return errors such as timeouts or HTTP errors. During training data construction, tools with consistently high failure rates (e.g., those for which the LLM fails to produce a successful query even after hundreds of attempts) are filtered out.

MCP Client Setup

We modified the existing MCP Client from the mcp-cli repository to enable interaction between MiniCPM and MCP Servers.
After the MCP Client performs a handshake with a Server, it retrieves a list of available tools. An example of tool information contained in this list is provided in available_tool_example.json .

Once the available tools and user query are obtained, results can be generated using the following script logic:

python generate_example.py \
--tokenizer_path {path to MiniCPM4 tokenizer} \
--base_url {vllm deployment URL} \
--model {model name used in vllm deployment} \
--output_path {path to save results}

where the generate_example.py is located in link and MiniCPM4 generates tool calls in the following format:

    <|tool_call_start|>
    ```python 
    read_file(path="/path/to/file")
    ```
    <|tool_call_end|>

You can build a custom parser for MiniCPM4 tool calls based on this format. The relevant parsing logic is located in generate_example.py .

Since the mcp-cli repository supports the vLLM inference framework, MiniCPM4-MCP can also be integrated into mcp-cli by modifying vLLM accordingly.
Specifically, follow the instructions in this link to enable interaction between a client running the MiniCPM4-MCP model and the MCP Server.

Evaluation

The detailed evaluation script can be found on the GitHub page. The evaluation results are presented below.

MCP Server gpt-4o qwen3 minicpm4
func param value func param value func param value
Airbnb 89.3 67.9 53.6 92.8 60.7 50.0 96.4 67.9 50.0
Amap-Maps 79.8 77.5 50.0 74.4 72.0 41.0 89.3 85.7 39.9
Arxiv-MCP-Server 85.7 85.7 85.7 81.8 54.5 50.0 57.1 57.1 52.4
Calculator 100.0 100.0 20.0 80.0 80.0 13.3 100.0 100.0 6.67
Computor-Control-MCP 90.0 90.0 90.0 90.0 90.0 90.0 90.0 90.0 86.7
Desktop-Commander 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0
Filesystem 63.5 63.5 31.3 69.7 69.7 26.0 83.3 83.3 42.7
Github 92.0 80.0 58.0 80.5 50.0 27.7 62.8 25.7 17.1
Gaode 71.1 55.6 17.8 68.8 46.6 24.4 68.9 46.7 15.6
MCP-Code-Executor 85.0 80.0 70.0 80.0 80.0 70.0 90.0 90.0 65.0
MCP-Docx 95.8 86.7 67.1 94.9 81.6 60.1 95.1 86.6 76.1
PPT 72.6 49.8 40.9 85.9 50.7 37.5 91.2 72.1 56.7
PPTx 64.2 53.7 13.4 91.0 68.6 20.9 91.0 58.2 26.9
Simple-Time-Server 90.0 70.0 70.0 90.0 90.0 90.0 90.0 60.0 60.0
Slack 100.0 90.0 70.0 100.0 100.0 65.0 100.0 100.0 100.0
Whisper 90.0 90.0 90.0 90.0 90.0 90.0 90.0 90.0 30.0
Average 80.2 70.2 49.1 83.5 67.7 43.8 88.3 76.1 51.2
Statement
  • As a language model, MiniCPM generates content by learning from a vast amount of text.
  • However, it does not possess the ability to comprehend or express personal opinions or value judgments.
  • Any content generated by MiniCPM does not represent the viewpoints or positions of the model developers.
  • Therefore, when using content generated by MiniCPM, users should take full responsibility for evaluating and verifying it on their own.
LICENSE
  • This repository and MiniCPM models are released under the Apache-2.0 License.
Citation
  • Please cite our paper if you find our work valuable.
@article{minicpm4,
  title={{MiniCPM4}: Ultra-Efficient LLMs on End Devices},
  author={MiniCPM Team},
  year={2025}
}

Runs of openbmb MiniCPM4-MCP on huggingface.co

5.4K
Total runs
0
24-hour runs
6
3-day runs
903
7-day runs
5.4K
30-day runs

More Information About MiniCPM4-MCP huggingface.co Model

More MiniCPM4-MCP license Visit here:

https://choosealicense.com/licenses/apache-2.0

MiniCPM4-MCP huggingface.co

MiniCPM4-MCP huggingface.co is an AI model on huggingface.co that provides MiniCPM4-MCP's model effect (), which can be used instantly with this openbmb MiniCPM4-MCP model. huggingface.co supports a free trial of the MiniCPM4-MCP model, and also provides paid use of the MiniCPM4-MCP. Support call MiniCPM4-MCP model through api, including Node.js, Python, http.

MiniCPM4-MCP huggingface.co Url

https://huggingface.co/openbmb/MiniCPM4-MCP

openbmb MiniCPM4-MCP online free

MiniCPM4-MCP huggingface.co is an online trial and call api platform, which integrates MiniCPM4-MCP's modeling effects, including api services, and provides a free online trial of MiniCPM4-MCP, you can try MiniCPM4-MCP online for free by clicking the link below.

openbmb MiniCPM4-MCP online free url in huggingface.co:

https://huggingface.co/openbmb/MiniCPM4-MCP

MiniCPM4-MCP install

MiniCPM4-MCP is an open source model from GitHub that offers a free installation service, and any user can find MiniCPM4-MCP on GitHub to install. At the same time, huggingface.co provides the effect of MiniCPM4-MCP install, users can directly use MiniCPM4-MCP installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

MiniCPM4-MCP install url in huggingface.co:

https://huggingface.co/openbmb/MiniCPM4-MCP

Url of MiniCPM4-MCP

MiniCPM4-MCP huggingface.co Url

Provider of MiniCPM4-MCP huggingface.co

openbmb
ORGANIZATIONS

Other API from openbmb

huggingface.co

Total runs: 200.2K
Run Growth: 91.4K
Growth Rate: 45.63%
Updated:October 05 2025
huggingface.co

Total runs: 134.8K
Run Growth: -3.0K
Growth Rate: -2.19%
Updated:March 10 2026
huggingface.co

Total runs: 117.8K
Run Growth: 4.9K
Growth Rate: 4.17%
Updated:September 15 2025
huggingface.co

Total runs: 112.2K
Run Growth: 89.6K
Growth Rate: 79.87%
Updated:May 10 2026
huggingface.co

Total runs: 106.9K
Run Growth: -45.2K
Growth Rate: -42.32%
Updated:June 13 2025
huggingface.co

Total runs: 25.5K
Run Growth: 411
Growth Rate: 1.61%
Updated:October 24 2025
huggingface.co

Total runs: 20.0K
Run Growth: 1.8K
Growth Rate: 8.78%
Updated:October 24 2025
huggingface.co

Total runs: 19.9K
Run Growth: 406
Growth Rate: 2.04%
Updated:January 15 2025
huggingface.co

Total runs: 11.5K
Run Growth: 10.4K
Growth Rate: 90.57%
Updated:May 07 2026
huggingface.co

Total runs: 8.6K
Run Growth: -4.2K
Growth Rate: -48.26%
Updated:June 02 2023
huggingface.co

Total runs: 7.7K
Run Growth: -4.1K
Growth Rate: -52.99%
Updated:February 27 2025
huggingface.co

Total runs: 6.5K
Run Growth: 523
Growth Rate: 8.06%
Updated:January 14 2026
huggingface.co

Total runs: 5.2K
Run Growth: 3.7K
Growth Rate: 70.38%
Updated:October 20 2025
huggingface.co

Total runs: 4.8K
Run Growth: 2.7K
Growth Rate: 56.92%
Updated:November 04 2024
huggingface.co

Total runs: 3.0K
Run Growth: -6.8K
Growth Rate: -226.96%
Updated:September 09 2026
huggingface.co

Total runs: 1.4K
Run Growth: 79
Growth Rate: 5.80%
Updated:January 15 2025
huggingface.co

Total runs: 1.0K
Run Growth: 153
Growth Rate: 14.93%
Updated:September 19 2025
huggingface.co

Total runs: 891
Run Growth: 76
Growth Rate: 8.53%
Updated:June 27 2023
huggingface.co

Total runs: 847
Run Growth: 48
Growth Rate: 5.67%
Updated:August 24 2023
huggingface.co

Total runs: 772
Run Growth: 343
Growth Rate: 43.04%
Updated:May 14 2024
huggingface.co

Total runs: 436
Run Growth: 372
Growth Rate: 85.32%
Updated:February 12 2026
huggingface.co

Total runs: 416
Run Growth: -75
Growth Rate: -18.03%
Updated:October 14 2023
huggingface.co

Total runs: 320
Run Growth: 167
Growth Rate: 52.19%
Updated:February 21 2024
huggingface.co

Total runs: 304
Run Growth: 163
Growth Rate: 53.62%
Updated:February 21 2024
huggingface.co

Total runs: 261
Run Growth: -78
Growth Rate: -31.08%
Updated:June 14 2025
huggingface.co

Total runs: 254
Run Growth: 118
Growth Rate: 46.46%
Updated:February 21 2024
huggingface.co

Total runs: 232
Run Growth: 49
Growth Rate: 21.12%
Updated:February 21 2024
huggingface.co

Total runs: 227
Run Growth: 100
Growth Rate: 44.05%
Updated:June 11 2025