> Log meals with a local Ollama model: connect Forkmate through Open WebUI or Goose with a personal key. Ollama runs the model; Forkmate is online.

Source: https://forkmate.ai/connect/ollama/

Through Open WebUI or Goose

# Use Forkmate with Ollama

Ollama runs models but isn’t an MCP client itself. Pair it with a client that is: Open WebUI (native MCP) or Goose (set Ollama as its provider), and connect it with a personal key.

**Needs a key.** Ollama runs on your computer, so it connects with a personal key instead of a sign-in. [Make a key in Forkmate](https://app.forkmate.ai/#keys) · [How keys work](https://forkmate.ai/connect/keys/)

No Forkmate account yet? [Create one free](https://app.forkmate.ai/) first. It takes under a minute. You make your key there.

Example: in Ollama, with Forkmate connected

I had two eggs and toast for breakfast.

Logged to Forkmate 229 kcal

Egg, whole, cooked, hard-boiled · 2 large eggs (100 g) Bread, white · 1 slice (28 g)

Logged. Want me to total today so far?

## Set up Forkmate in Ollama

Forkmate’s server URL

`https://mcp.forkmate.ai/`

Streamable HTTP, with your personal key in the Authorization header.

1. Make a key In Forkmate, open Settings → Keys for local apps (`https://app.forkmate.ai/#keys`), name the key after Open WebUI or Goose, pick when it expires and click Make key. Copy it: Forkmate shows it once. How keys work: forkmate.ai/connect/keys/.
2. Open WebUI: add the server As the Open WebUI admin, open Settings → Admin → Integrations → External Tool Servers → + Add Connection.
3. Open WebUI: configure it Type: MCP (Streamable HTTP). URL: `https://mcp.forkmate.ai/`. Auth: Bearer, with your key in the Key field. Save.
4. Or use Goose Set Ollama as Goose’s provider, then add Forkmate with your key as on the Goose page.
5. Give your OK once The first time you log, Forkmate asks once for your OK to store your food diary. Agree the way it asks, in the chat or through the link it gives you to agree on the web, then log the meal again if it wasn’t saved.
6. Log your first meal In a chat with a tool-capable Ollama model, say “I had two eggs and toast for breakfast.” It logs the meal with calories and macros to your Forkmate diary.

## What you need

- A free Forkmate account ([sign up](https://app.forkmate.ai/)). There is no paid plan.
- Open WebUI v0.6.31 or later; only an admin can add MCP servers.
- In Open WebUI the key is set for the whole instance, so everyone who uses it would read and log in your diary. Add Forkmate only to an Open WebUI that’s just yours.
- The model runs locally, but Forkmate is an internet service: you need a connection, and what you log goes to your Forkmate diary.
- Use a model with tool calling (Ollama marks them “tools”). Small models call tools less reliably.

Checked October 9, 2026 against these sources: [Open WebUI docs: MCP](https://docs.openwebui.com/features/extensibility/mcp/), [Goose docs: using extensions](https://goose-docs.ai/docs/getting-started/using-extensions/). Ollama changes its menus often; if yours looks different, trust what it shows.

## What to say first

Talk to Ollama the way you’d tell a friend:

- “I had two eggs and toast for breakfast.”
- “How many calories have I had today?”
- “Make the toast two slices.”
- “What did I eat this week?”

It logs the meal with calories, protein, carbs and fat to your diary at app.forkmate.ai.

## Good to know in Ollama

- Ollama uses a 4k context on machines with under 24 GB of VRAM; Ollama recommends at least 64000 tokens for agents and tools.
- Raise it with the context slider in Ollama’s settings, or run OLLAMA_CONTEXT_LENGTH=64000 ollama serve.
- In Open WebUI, turn Forkmate on in each chat rather than making it a model’s default tool.

## If something goes wrong in Ollama

Open WebUI says it failed to connect to the MCP server

Remove Forkmate from the model’s default tools and turn it on per chat instead.

Checked October 8, 2026 against [Ollama docs: context length](https://docs.ollama.com/context-length), [Open WebUI docs: MCP](https://docs.openwebui.com/features/extensibility/mcp/).

## Pick a different assistant

The same URL works in all of them. Something not working? See [troubleshooting](https://forkmate.ai/connect/#troubleshooting).

- [ChatGPT Developer mode, Plus and up, web only](https://forkmate.ai/connect/chatgpt/)
- [Claude In Claude’s connector directory](https://forkmate.ai/connect/claude/)
- [Developers Anthropic & OpenAI APIs, MCP SDKs, curl](https://forkmate.ai/connect/developers/)
- [LM Studio mcp.json, local models](https://forkmate.ai/connect/lm-studio/)
- [All assistants and apps 22 setup guides](https://forkmate.ai/connect/)

## Start logging from Ollama

Create your free account, connect once, and your next meal is one sentence away. No card, no paid plan.

[All assistants](https://forkmate.ai/connect/) [Start free](https://app.forkmate.ai/)
