Use Ollama models from Raycast for local and remote inference, chat, writing assistance, image understanding, model management, and tool calling.
This extension is not affiliated with Ollama.
You can install a model with the Ollama CLI or pull one directly from the Manage Models command. Browse available models in the Ollama library.
Remote servers can be configured without authentication, with basic authentication, or with a bearer token.
Use Chat with Ollama for saved, multi-turn conversations. You can choose separate models for general chat, vision, and tool use, as well as configure thinking effort and how long each model stays loaded in memory.
The action menu lets you:
⌘ M on macOS or Ctrl M on Windows.⌘ T on macOS or Ctrl T on Windows.⌘ B on macOS or Ctrl B on Windows. This requires the Raycast browser extension.⌘ I on macOS or Ctrl I on Windows. This requires a vision-capable model.The Chat Memory Messages preference controls how many recent messages are sent back to the model. The default is 20.
The extension includes focused commands for common tasks:
Most text commands use the input source selected in the extension preferences: Selected Text or Clipboard. You can also enable fallback to the other source when the preferred source is empty. After a one-shot command finishes, use Continue as Chat to keep the conversation going.
Commands that rewrite their input also offer Auto-Replace Selected Text, enabled per command in its Raycast settings. When enabled, the generated text replaces your selection as soon as it is ready, instead of waiting for you to copy or paste it. It only replaces text when the selection actually supplied the input: if the input source was the clipboard, or fell back to it because nothing was selected, the answer is shown instead of overwriting whatever happens to be highlighted. Commands that explain, describe, or summarise their input do not offer it, because their output is not a replacement for what you selected.
Use Manage Models to:
Use Loaded Models to see the models currently held in memory and unload them when they are no longer needed.
Use Create Custom Command to create a Raycast Quicklink backed by your own prompt, model, and Ollama parameters. Prompts follow the Raycast Prompt Explorer format and support these tags:
{selection} inserts selected or clipboard text.{browser-tab} inserts the current browser tab as Markdown. Use {browser-tab format="html"} or {browser-tab format="text"} to request another format.{image} attaches a JPEG or PNG image from Finder or the clipboard. This requires a vision-capable model.Tick Auto-Replace to have the result replace the selected text automatically, as the built-in commands can. This only makes sense for a prompt that uses {selection}. The choice is stored in the Quicklink when it is created, so changing it later means creating the command again.
The extension exposes Web Search and Web Fetch tools to Raycast AI and can also use them inside Chat with Ollama when internet search is enabled.
These tools require an Ollama API key. Create one in your Ollama account settings, then add it to the extension's Ollama API Key preference. An API key is not required for local inference.
Use Manage MCP Server to add, edit, and remove stdio-based MCP servers for Chat with Ollama. Paste a standard JSON configuration such as:
{
"mcpServers": {
"example": {
"command": "npx",
"args": ["-y", "<mcp-server-package>"]
}
}
}
Select the configured servers in the chat model settings. Only MCP tools are currently supported, and the selected Ollama model must support tool calling.
Auto-Replace Selected Text is not listed here: it is set per command, in the settings of each command that rewrites its input.