semvec/pypi-packages huggingface dataset:
ollama-almasrv-mcp 1.0.0
MCP server for accessing Ollama models on a remote GPU server via Model Context Protocol
License: MIT
Requires Python: >=3.10
Keywords: claude-code, embeddings, llm, mcp, model-context-protocol, ollama

# ollama-almasrv-mcp

MCP (Model Context Protocol) server for accessing Ollama models on a remote GPU server.

Designed for [ALMASRV](https://github.com/noesis-ai) (NVIDIA RTX PRO 6000 96GB VRAM) but works with any Ollama instance behind a compatible HTTP gateway.

## Features

- **6 MCP tools**: chat, think, embed, similarity, models, health
- **10 models**: 4 local (llama3.3:70b, qwen3:32b, llama3.2:3b, mxbai-embed-large) + 6 cloud
- **1024-dim embeddings** compatible with SQL Server 2025 `VECTOR(1024)`
- **Thinking models** with reasoning traces (qwen3:32b, kimi-k2-thinking, glm-5, kimi-k2.5, minimax-m2.5)
- **Configurable endpoints** via environment variables

## Quick Install

```bash
pip install ollama-almasrv-mcp
```

## Setup with Claude Code

```bash
# Add to Claude Code (user-level, available everywhere)
claude mcp add --scope user ollama-almasrv -- ollama-almasrv-mcp

# Or with custom server URLs
claude mcp add --scope user \
  -e ALMASRV_GATEWAY_URL=http://your-server:8030 \
  -e ALMASRV_EMBED_URL=http://your-server:8031 \
  ollama-almasrv -- ollama-almasrv-mcp
```

## Available Tools

| Tool | Description |
|------|-------------|
| `ollama_chat` | Chat with any Ollama model (default: qwen3:32b) |
| `ollama_think` | Chat with thinking models that return reasoning traces |
| `ollama_embed` | Generate 1024-dim embedding vectors |
| `ollama_similarity` | Calculate cosine similarity between two texts |
| `ollama_models` | List all available models |
| `ollama_health` | Check gateway and embedding service health |

## Configuration

| Environment Variable | Default | Description |
|---------------------|---------|-------------|
| `ALMASRV_GATEWAY_URL` | `http://192.168.50.78:8030` | Ollama gateway (chat/think/models) |
| `ALMASRV_EMBED_URL` | `http://192.168.50.78:8031` | Embedding service (embed/similarity) |

## Requirements

- Python >= 3.10
- A running [Ollama](https://ollama.ai) instance with a compatible HTTP gateway
- Gateway endpoints: `/chat`, `/models`, `/health`
- Embedding endpoints: `/embeddings`, `/similarity`, `/health`

## License

MIT
nmdc-submission-schema 11.16.1
The NMDC submission schema
License: MIT
Requires Python: <4.0,>=3.10

# submission-schema

The NMDC submission schema.

Note that the while this repo is named `submission-schema`, the generated artifacts are named `nmdc_submission_schema` for disambiguation purposes when publishing to PyPI.

## Website

* [https://microbiomedata.github.io/submission-schema](https://microbiomedata.github.io/submission-schema)

## Repository Structure

* [examples/](examples/) - example data
* [project/](project/) - project files (do not edit these)
* [src/](src/) - source files (edit these)
    * [nmdc_submission_schema](src/nmdc_submission_schema)
        * [schema](src/nmdc_submission_schema/schema) -- LinkML schema (edit this)
* [datamodel](src/nmdc_submission_schema/datamodel) -- Generated python datamodel
* [tests](tests/) - python tests

## Developer Documentation

### Updating the submission schema

The version of `nmdc-schema` used as a basis when building the submission schema is controlled by a dependency in the `dev` group, specified in `pyproject.toml`. You can update the version used by running:

```shell
poetry add nmdc-schema==X.Y.Z --group dev  # replace X.Y.Z with the desired version
```

> [!NOTE]  
> It is important to use the `==` version constraint to ensure the exact version is installed. 

### Building the submission schema

Here's how you can generate the submission schema release artifacts:

#### Container-based process

##### Prerequisites

- Docker is installed on your computer
- You are in the root directory of the repository

##### Procedure

1. Build the container image you will later use to build the submission schema:
   ```shell
   docker build -t submission-schema-builder -f builder.Dockerfile .
   ```
2. Use that container image to build the submission schema:
   ```shell
   docker run --rm -it -v ${PWD}:/submission-schema submission-schema-builder
   ```
3. Commit the changes, using the new `nmdc-schema` version number as the commit message; like this:
   ```shell
   git add .
   git commit -m "X.Y.Z"  # replace X.Y.Z with the nmdc-schema version
   ```
4. (Optional) Delete the container image:
   ```shell
   docker image rm submission-schema-builder
   ```

#### Direct process

##### Procedure

1. Install Python dependencies:
   ```shell
   poetry install
   ```
2. Generate the release artefacts:
   ```shell
   make clean all
   ```
3. Commit the changes, using the new `nmdc-schema` version number as the commit message; like this:
   ```shell
   git add .
   git commit -m "X.Y.Z"  # replace X.Y.Z with the nmdc-schema version
   ```

## Credits

this project was made with [linkml-project-cookiecutter](https://github.com/linkml/linkml-project-cookiecutter)