LLM MCP Server
MCP server for LLM training, fine-tuning, and experimentation. Part of the scicomp-mcp suite.
Features
- Model Architectures: GPT (Transformer decoder) and Mamba (State Space Model)
- Tokenizers: tiktoken, BPE, SentencePiece, character-level
- Training: AdamW, learning rate scheduling, gradient checkpointing, mixed precision
- Evaluation: Perplexity, loss, text generation
Installation
uv sync --all-extras
Usage
scicomp-llm-mcp
Tools
Model Management
create_model- Create GPT or Mamba architectureget_model_config- Get model configurationlist_models- List all models
Tokenizers
create_tokenizer- Create or load tokenizertokenize_text- Tokenize text
Datasets
load_dataset- Load training datasetprepare_dataset- Prepare for training
Training
create_trainer- Configure trainingtrain_step- Execute training stepsget_training_status- Monitor progress
Evaluation
evaluate_model- Evaluate on datasetgenerate_text- Generate textcompute_perplexity- Compute perplexity
Checkpoints
save_checkpoint- Save model checkpointload_checkpoint- Load from checkpoint
Analysis
analyze_attention- Analyze attention patternscompute_gradient_norms- Compute gradient normsestimate_memory- Estimate training memory requirementscompute_model_flops- Compute model FLOPsanalyze_weights- Analyze weight distributionsanalyze_sparsity- Compute model sparsityanalyze_norms- Analyze layer normscompare_models- Compare model architectures
Dataset Ablation
analyze_data_influence- Compute sample influenceanalyze_token_distribution- Analyze token frequenciesanalyze_sequences- Compute sequence statisticsrun_data_ablation- Run ablation studiessuggest_augmentations- Suggest data augmentation strategies
Attention Visualization
visualize_attention- Extract attention summaryanalyze_attention_patterns- Detect attention patternscompute_head_rankings- Rank heads by importancecompare_heads- Compare attention heads
License
MIT
Metadata
Release files for scicomp-llm-mcp 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scicomp_llm_mcp-0.1.6.tar.gz | 33.7 kB | With provenance | Details for scicomp_llm_mcp-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scicomp_llm_mcp-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for scicomp_llm_mcp-0.1.6-py3-none-any.whl |
Total release size: 66.2 kB
Release files / scicomp_llm_mcp-0.1.6.tar.gz
| Download URL | scicomp_llm_mcp-0.1.6.tar.gz |
|---|---|
| Size | 33.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe6a7f91227429dfddf9732a4b7930f7fc1b2f816304205cf3887dfaa8d12a2f
|
|
BLAKE2b-256 checksum How to use checksums |
8c3fe07508c8ce2c13798ea7ab41cc6758afce4dae8f37139b6e5435cc3d978a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 5, 2026.
Transparency logRelease files / scicomp_llm_mcp-0.1.6-py3-none-any.whl
| Download URL | scicomp_llm_mcp-0.1.6-py3-none-any.whl |
|---|---|
| Size | 32.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3d7044115157e99721689179a2bc3f3eed9b07a15e22ca9a45104d0f475c93e
|
|
BLAKE2b-256 checksum How to use checksums |
39a54f0155aba10fcd09d6ebc9025024cd8c07decc44494be250052deb63a564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 5, 2026.
Transparency logSecurity for scicomp-llm-mcp 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for scicomp_llm_mcp-0.1.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.