[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Ollama official model catalog](https://spiral.ai/integrations/claude-code/ollama-official-model-catalog)

# How to Use Ollama official model catalog in Claude Code

Returns entries from Ollama's official library, including model descriptions and capability labels. Use it to build an official-model shortlist before inspecting individual models and tags.

|  |  |
| --- | --- |
| Model | Ollama official model catalog |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Ollama official model catalog in Claude Code

- Use Ollama official model catalog to find embedding candidates and add a concise research table to this project's documentation with their descriptions and capability labels.
- Use Ollama official model catalog to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Ollama official model catalog and tell me what changed since last week.
- Check Ollama official model catalog and summarize what you find in three bullet points.
- Pull the newest data from Ollama official model catalog and give me the result as a table.

## How to set up Ollama official model catalog in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Ollama official model catalog**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "ollama-com/models/library_models",
    "input": {
      "sort": "popular"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Ollama official model catalog on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Ollama official model catalog tools and prices

- [Ollama model library · Library models](https://spiral.ai/tools/alexandria/ollama-com/models/library_models) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | popular, newest | — | Order; the site default is `popular`. |
| filter |  | — | Name filter applied by the site (`embed`). |

## What can you do with Ollama official model catalog in Claude Code?

Build a model selection report that connects your project's requirements to Ollama descriptions, tags, and layer metadata. A coding agent can compare those results with the embedding dimensions or model references already in your code.

### Choose an embedding model for document search

Find official and community candidates, review a publisher's uploads, and read model descriptions. Compare tags, download contents, context lengths, and embedding dimensions before choosing a build for a retrieval trial.

### Prepare a coding-model evaluation

Collect candidates from the library, search results, and selected publishers. Read their stated tasks, compare available builds, and inspect tag contents and tensor types to define which exact models to benchmark.

### Plan model downloads for an offline deployment

Build a shortlist from official listings and public publisher catalogs, then review model descriptions and tags. Use manifest sizes and layer metadata to document the selected downloads, architecture, and quantization.

### Write a technical model comparison

Compare models discovered through the official library, search, and publisher pages. Support the report with README descriptions, tag choices, download sizes, layer identifiers, and metadata from the selected builds.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Ollama official model catalog in other agents

- [Amp](https://spiral.ai/integrations/amp/ollama-official-model-catalog)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/ollama-official-model-catalog)
- [Claude](https://spiral.ai/integrations/claude-desktop/ollama-official-model-catalog)
- [Cline](https://spiral.ai/integrations/cline/ollama-official-model-catalog)
- [Codex](https://spiral.ai/integrations/codex/ollama-official-model-catalog)
- [Cursor](https://spiral.ai/integrations/cursor/ollama-official-model-catalog)
- [Devin](https://spiral.ai/integrations/devin/ollama-official-model-catalog)
- [dots](https://spiral.ai/integrations/dots/ollama-official-model-catalog)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/ollama-official-model-catalog)
- [Gemini](https://spiral.ai/integrations/gemini/ollama-official-model-catalog)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/ollama-official-model-catalog)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/ollama-official-model-catalog)
- [goose](https://spiral.ai/integrations/goose/ollama-official-model-catalog)
- [Grok](https://spiral.ai/integrations/grok/ollama-official-model-catalog)
- [Grok Build](https://spiral.ai/integrations/grok-build/ollama-official-model-catalog)
- [Hermes](https://spiral.ai/integrations/hermes/ollama-official-model-catalog)
- [Instinct](https://spiral.ai/integrations/instinct/ollama-official-model-catalog)
- [Manus](https://spiral.ai/integrations/manus/ollama-official-model-catalog)
- [Muse](https://spiral.ai/integrations/muse/ollama-official-model-catalog)
- [Muse Code](https://spiral.ai/integrations/muse-code/ollama-official-model-catalog)
- [n8n](https://spiral.ai/integrations/n8n/ollama-official-model-catalog)
- [Notion](https://spiral.ai/integrations/notion/ollama-official-model-catalog)
- [OpenClaw](https://spiral.ai/integrations/openclaw/ollama-official-model-catalog)
- [opencode](https://spiral.ai/integrations/opencode/ollama-official-model-catalog)
- [Perplexity](https://spiral.ai/integrations/perplexity/ollama-official-model-catalog)
- [Raycast](https://spiral.ai/integrations/raycast/ollama-official-model-catalog)
- [VS Code](https://spiral.ai/integrations/vscode/ollama-official-model-catalog)
- [Windsurf](https://spiral.ai/integrations/windsurf/ollama-official-model-catalog)
- [Zapier](https://spiral.ai/integrations/zapier/ollama-official-model-catalog)

## More Claude Code guides

- [Ollama model tags](https://spiral.ai/integrations/claude-code/ollama-model-tags)
- [Ollama publisher model catalog](https://spiral.ai/integrations/claude-code/ollama-publisher-model-catalog)
- [Ollama model tag details](https://spiral.ai/integrations/claude-code/ollama-model-tag-details)
- [OpenAI API changelog](https://spiral.ai/integrations/claude-code/openai-api-changelog)
- [Ollama model search](https://spiral.ai/integrations/claude-code/ollama-model-search)
- [OpenAI API endpoint reference](https://spiral.ai/integrations/claude-code/openai-api-endpoint-reference)

## Questions about Ollama official model catalog in Claude Code

**Can Claude Code use Ollama official model catalog?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Ollama official model catalog like any built-in tool.

**How much does Ollama official model catalog cost in Claude Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need an Alexandria account to use Ollama official model catalog in Claude Code?**

No. Spiral runs Ollama official model catalog on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Ollama official model catalog in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Ollama official model catalog runs?**

Ollama official model catalog runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Does Ollama include community uploads?**

Yes. Ollama has public publisher namespaces as well as its official library. For example, aiconjured's catalog includes Qwen3-Embedding-0.6B-Q8-NVFP4.

**How many builds can one model have?**

The count depends on the model. The inspected llama3.2 page lists 63 tags across choices that include 1B and 3B models, so a model name alone does not identify one download.

**How does Ollama show how recently a model changed?**

Catalog and tag entries display relative update ages. For example, the inspected llama3.2:1b tag shows “2 years ago” beside its size and context information.

**Where can I check an embedding build's context length and dimensions?**

Ollama's model layer metadata provides both. The inspected nomic-embed-text layer reports a context length of 2,048 and an embedding length of 768.

**Can every model in Ollama's catalog answer chat questions?**

No. For example, nomic-embed-text is explicitly limited to generating embeddings, so use its catalog data to evaluate search or retrieval models.

