MindSpore Tools
一个基于 MCP 的 MindSpore 开发工具包:既能查询官方模型清单,也提供 PyTorch ↔ MindSpore 互转等跨框架辅助能力。
What is MindSpore Tools?
MindSpore Tools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 一个基于 mcp 的 mindspore 开发工具包:既能查询官方模型清单,也提供 pytorch ↔ mindspore 互转等跨框架辅助能力。
一个基于 MCP 的 MindSpore 开发工具包:既能查询官方模型清单,也提供 PyTorch ↔ MindSpore 互转等跨框架辅助能力。
This server falls under the Data Science & ML category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- 一个基于 MCP 的 MindSpore 开发工具包:既能查询官方模型清单,也提供 PyTorch ↔ MindSpor
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mindspore-toolsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MindSpore Tools
MindSpore Tools is an MCP server providing a comprehensive development toolkit for the MindSpore deep learning framework, offering 29 tools that cover model discovery, PyTorch-to-MindSpore API mapping, adversarial robustness testing, training configuration generation, code linting, and model deployment utilities. It is designed for machine learning engineers working with Huawei's MindSpore framework who want AI assistance for model selection, framework migration from PyTorch, and generating training scripts for Ascend and GPU hardware.
Prerequisites
- Python 3.9 or later installed
- uv package manager installed (pip install uv)
- Git to clone the repository
- An MCP-compatible client such as Claude Desktop
- Optional: MindSpore installed locally for full linting and code analysis features (pip install mindspore)
Clone the repository
Clone the mindspore-tools-mcp repository from GitHub.
git clone https://github.com/whitea133/mindspore-tools-mcp.git
cd mindspore-tools-mcpInstall dependencies with uv
Run 'uv sync' for the standard set of tools. Add '--extra full' to install all 29 tools including adversarial robustness and advanced model analysis features.
# Standard install (core tools):
uv sync
# Full install (all 29 tools):
uv sync --extra fullTest the server locally
Run the server to verify it starts and that tools are registered correctly. It will output the list of available tools on stderr.
uv run python -m mindspore_tools_mcpAdd to Claude Desktop config
Add the server to your Claude Desktop configuration file, pointing to the cloned repository directory.
{
"mcpServers": {
"mindspore-tools": {
"command": "uv",
"args": [
"--directory", "/path/to/mindspore-tools-mcp",
"run", "python", "-m", "mindspore_tools_mcp"
]
}
}
}Restart Claude Desktop and verify
Restart Claude Desktop and ask it to list available MindSpore models to confirm the server is connected.
MindSpore Tools Examples
Client configuration
Claude Desktop config for the MindSpore Tools MCP server using uv to run from the cloned directory.
{
"mcpServers": {
"mindspore-tools": {
"command": "uv",
"args": [
"--directory", "/path/to/mindspore-tools-mcp",
"run", "python", "-m", "mindspore_tools_mcp"
]
}
}
}Prompts to try
Example prompts covering model discovery, PyTorch migration, training template generation, and code linting.
- "List available MindSpore models for image classification on Ascend hardware"
- "How do I convert PyTorch's torch.nn.Conv2d to its MindSpore equivalent?"
- "Generate a ResNet50 training script for CIFAR-10 using MindSpore"
- "Lint my MindSpore training script at /path/to/train.py and identify performance issues"
- "Compare MindSpore ResNet50 and MobileNetV2 for mobile deployment"
- "Show me examples for using mindspore.nn.Dense"Troubleshooting MindSpore Tools
Only some tools are available after installation
Run 'uv sync --extra full' instead of 'uv sync' to install all optional dependencies required for the complete set of 29 tools including adversarial robustness and advanced analysis features.
Code linting tools fail with import errors
The linting tools may require MindSpore to be installed in the same environment. Run 'uv add mindspore' in the project directory to install it, then restart the MCP server.
The server fails to start with 'module not found' errors
Ensure you run the server from the cloned repository directory using the '--directory' flag in the uv args, or 'cd' to the directory first. The module name is 'mindspore_tools_mcp' with underscores, not hyphens.
Frequently Asked Questions about MindSpore Tools
What is MindSpore Tools?
MindSpore Tools is a Model Context Protocol (MCP) server that 一个基于 mcp 的 mindspore 开发工具包:既能查询官方模型清单,也提供 pytorch ↔ mindspore 互转等跨框架辅助能力。 It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MindSpore Tools?
Follow the installation instructions on the MindSpore Tools GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MindSpore Tools?
MindSpore Tools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MindSpore Tools free to use?
Yes, MindSpore Tools is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
MindSpore Tools Alternatives — Similar Data Science & ML Servers
Looking for alternatives to MindSpore Tools? Here are other popular data science & ml servers you can use with Claude, Cursor, and VS Code.
Ultrarag
★ 5.6kA Low-Code MCP Framework for Building Complex and Innovative RAG Pipelines
RocketRide
★ 3.1k📇 🏠 - MCP server that exposes RocketRide AI pipelines as t
Aix Db
★ 2.1kAix-DB 基于 LangChain/LangGraph 框架,结合 MCP Skills 多智能体协作架构,实现自然语言到数据洞察的端到端转换。
NeMo Data Designer
★ 1.9k🎨 NeMo Data Designer: Generate high-quality synthetic data from scratch or from seed data.
PaperBanana
★ 1.7kOpen source implementation and extension of Google Research’s PaperBanana for automated academic figures, diagrams, and research visuals, expanded to new domains like slide generation.
MiniMax
★ 1.5kBridges MiniMax AI capabilities to the Model Context Protocol, enabling AI agents to perform image understanding, text-to-image generation, and speech synthesis. It provides a standardized interface for accessing MiniMax's core tools via JSON-RPC.
Browse More Data Science & ML MCP Servers
Explore all data science & ml servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MindSpore Tools in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MindSpore Tools?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.