[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Ollama model search](https://spiral.ai/integrations/n8n/ollama-model-search)

# How to Use Ollama model search in n8n

Returns matching entries from Ollama's public model catalog, covering official and community models. Use it to discover candidates before reading their model pages or comparing tags.

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

## Prompts to try with Ollama model search in n8n

- Every Friday, use Ollama model search for qwen and report changes in the returned model names and capability labels.
- Every Monday at 9am: use Ollama model search to look this up and give me the result as a table.
- Pull the latest numbers from Ollama model search and tell me what changed since last week.
- Check Ollama model search and summarize what you find in three bullet points.
- Pull the newest data from Ollama model search and give me the result as a table.

## How to set up Ollama model search in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Ollama model search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Ollama model search, prices it and runs it each time the step fires.

### 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 model search**: 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/search_models",
    "input": {
      "page": 1
    }
  }'
```

Then paste one of the prompts above: n8n finds Ollama model search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Ollama model search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to … | — | 1-based page; use `next_page` from the previous result. |
| sort | popular, newest | — | Order; the site default is `popular`. |
| query |  | — | Free-text query (name or description words). |
| capability | cloud, embedding, vision, tools, thinking | — | Restrict to models carrying this capability badge. |

## What can you do with Ollama model search in n8n?

Produce a recurring review of changes in Ollama listings and selected model builds. A scheduled agent can compare catalog entries, tag identifiers, and metadata with its previous results and report specific differences.

### 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 n8n guides](https://spiral.ai/integrations/n8n)

## Ollama model search in other agents

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

## More n8n guides

- [Ollama model layer metadata](https://spiral.ai/integrations/n8n/ollama-model-layer-metadata)
- [Ollama model tag details](https://spiral.ai/integrations/n8n/ollama-model-tag-details)
- [Ollama model details](https://spiral.ai/integrations/n8n/ollama-model-details)
- [Ollama model tags](https://spiral.ai/integrations/n8n/ollama-model-tags)
- [OSV.dev vulnerability details](https://spiral.ai/integrations/n8n/osv-dev-vulnerability-details)
- [Ollama official model catalog](https://spiral.ai/integrations/n8n/ollama-official-model-catalog)

## Questions about Ollama model search in n8n

**Can n8n use Ollama model search?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Ollama model search like any built-in tool.

**How much does Ollama model search cost in n8n?**

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

**Do I need an Alexandria account to use Ollama model search in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Ollama model search on its own Alexandria account.

**How long does it take to set up Ollama model search in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Ollama model search runs?**

Ollama model search runs in the background. n8n 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.

