MCP server for neural network training and experimentation
Project description
scicomp-neural-mcp
mcp-name: io.github.andylbrummer/neural-mcp
MCP server for neural network training and experimentation.
Overview
This server provides tools for building, training, and analyzing neural networks:
- Model building - Pre-trained models (ResNet, MobileNet) and custom architectures
- Dataset loading - CIFAR-10, MNIST, ImageNet datasets with standard preprocessing
- Training - Full training loops with configurable learning rates and batch sizes
- Evaluation - Model evaluation, metrics computation, and analysis
- Hyperparameter tuning - Automated hyperparameter search
- Export - Export models to ONNX and TorchScript formats
- GPU acceleration - Optional CUDA acceleration for training
Installation & Usage
# Run directly with uvx (no installation required)
uvx scicomp-neural-mcp
# Or install with pip
pip install scicomp-neural-mcp
# With GPU support (recommended for training)
pip install scicomp-neural-mcp[gpu]
# Run as command
scicomp-neural-mcp
Available Tools
Model Management
define_model- Create neural network models (ResNet18, MobileNet, custom)load_pretrained- Load pretrained models from torchvision or Hugging Faceget_model_summary- Get detailed layer-by-layer breakdownexport_model- Export to ONNX or TorchScript
Data Loading
load_dataset- Load standard datasets (CIFAR-10, MNIST, ImageNet)create_dataloader- Create batched dataloaders with shuffling
Training
train_model- Train model on dataset with configurable parametersget_experiment_status- Monitor training progressevaluate_model- Evaluate on test set
Analysis
compute_metrics- Compute detailed performance metricsconfusion_matrix- Generate confusion matricesplot_training_curves- Visualize loss and accuracy curvesvisualize_predictions- Inspect model predictions on samples
Hyperparameter Optimization
tune_hyperparameters- Automated hyperparameter search
Configuration
Enable GPU acceleration with environment variable:
MCP_USE_GPU=1 scicomp-neural-mcp
Examples
📖 Code Examples
Practical tutorials in EXAMPLES.md:
- MNIST digit recognition (complete workflow)
- Transfer learning with ResNet
- Hyperparameter optimization
- Confusion matrix analysis
- Progressive learning path (beginner → advanced)
📚 Full Documentation
See the API documentation for complete API reference.
Part of Math-Physics-ML MCP System
Part of a comprehensive system for scientific computing. See the documentation for the complete ecosystem.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scicomp_neural_mcp-0.1.4.tar.gz.
File metadata
- Download URL: scicomp_neural_mcp-0.1.4.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61281c365dc1bebdc3fb977f8979da3097f276a218f7c522d80de3e12a7fedec
|
|
| MD5 |
e933c86c13b62487be331d4bed4bcd16
|
|
| BLAKE2b-256 |
354c6acb2a8129b258ff70d0a27a177809e104f8b1719cf99aae3a02ed47e9a8
|
Provenance
The following attestation bundles were made for scicomp_neural_mcp-0.1.4.tar.gz:
Publisher:
publish.yml on andylbrummer/math-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scicomp_neural_mcp-0.1.4.tar.gz -
Subject digest:
61281c365dc1bebdc3fb977f8979da3097f276a218f7c522d80de3e12a7fedec - Sigstore transparency entry: 789263592
- Sigstore integration time:
-
Permalink:
andylbrummer/math-mcp@36fc0245b35a74bfe276b46857efbaef3184615f -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/andylbrummer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@36fc0245b35a74bfe276b46857efbaef3184615f -
Trigger Event:
push
-
Statement type:
File details
Details for the file scicomp_neural_mcp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: scicomp_neural_mcp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3867c196295a6ee4d653457cc629231a8b9765d12bd50293fd5adf4fd5bc7c5c
|
|
| MD5 |
e5bf30304880bc34fd976bd39d4ba286
|
|
| BLAKE2b-256 |
95789de7adb6be3e6f148ec77bb971cba55271e4e4accd1c9a0f17c30632f85f
|
Provenance
The following attestation bundles were made for scicomp_neural_mcp-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on andylbrummer/math-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scicomp_neural_mcp-0.1.4-py3-none-any.whl -
Subject digest:
3867c196295a6ee4d653457cc629231a8b9765d12bd50293fd5adf4fd5bc7c5c - Sigstore transparency entry: 789263598
- Sigstore integration time:
-
Permalink:
andylbrummer/math-mcp@36fc0245b35a74bfe276b46857efbaef3184615f -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/andylbrummer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@36fc0245b35a74bfe276b46857efbaef3184615f -
Trigger Event:
push
-
Statement type: