Skip to main content

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 Face
  • get_model_summary - Get detailed layer-by-layer breakdown
  • export_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 parameters
  • get_experiment_status - Monitor training progress
  • evaluate_model - Evaluate on test set

Analysis

  • compute_metrics - Compute detailed performance metrics
  • confusion_matrix - Generate confusion matrices
  • plot_training_curves - Visualize loss and accuracy curves
  • visualize_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

scicomp_neural_mcp-0.1.6.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scicomp_neural_mcp-0.1.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file scicomp_neural_mcp-0.1.6.tar.gz.

File metadata

  • Download URL: scicomp_neural_mcp-0.1.6.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

Hashes for scicomp_neural_mcp-0.1.6.tar.gz
Algorithm Hash digest
SHA256 dcfac5be2e8ebfe25658c388c664290712410767e655926fb8d8c9dd9d59f836
MD5 657ee5e8d02c9d266363f2e0d8dadc39
BLAKE2b-256 dcc840f636b835b6e6066d84eef71da86af105e0b98eeb273e2b00d3847e088d

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_neural_mcp-0.1.6.tar.gz:

Publisher: publish.yml on andylbrummer/math-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scicomp_neural_mcp-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for scicomp_neural_mcp-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a085db9bd8057fff20617c8252d28c2793479ffb3024cd4b5990a5b774939b66
MD5 704f964fb2a8270a986e1e098e9b559b
BLAKE2b-256 0f711ad7e3514b54d937bb3ce0cd3de8134c62e53875534e0e18dcd8f72ddbba

See more details on using hashes here.

Provenance

The following attestation bundles were made for scicomp_neural_mcp-0.1.6-py3-none-any.whl:

Publisher: publish.yml on andylbrummer/math-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page