Openwebui MCP Server

MCP server for Claude Code and Claude Desktop to interact with Open WebUI — manage chats, RAG knowledge bases, functions, and more.

Remote serverstreamable-httpPython

What is the Openwebui MCP server?

If you already use Openwebui, the openwebui mcp server is the piece that lets your assistant work with it directly. MCP server for Claude Code and Claude Desktop to interact with Open WebUI — manage chats, RAG knowledge bases, functions, and more.

What the server does

Open WebUI is a powerful self-hosted AI interface — but until now, you couldn't interact with it from Claude. This MCP server bridges that gap.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • openwebui_list_functions — List all functions by type
  • openwebui_get_function — Get function with source code
  • openwebui_create_function — Create a new Python function
  • openwebui_update_function — Update function code or metadata
  • openwebui_delete_function — Delete a function (requires confirm)
  • Chats — The Chats tool exposed by this server
  • Files — The Files tool exposed by this server
  • Models — The Models tool exposed by this server
  • Prompts — The Prompts tool exposed by this server
  • System — The System tool exposed by this server

Installation

Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.

Credentials and setup notes

Configuration is passed through the environment: OPENWEBUI_URL, OPENWEBUI_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js >= 18.0.0 - Open WebUI >= 0.3.0 (any self-hosted install) - API key from Open WebUI Settings → Account → API Keys ---

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Openwebui's toolset — openwebui_list_functions, openwebui_get_function, openwebui_create_function and 7 more — is a fair guide to whether it matches your workflow. It is maintained by cyberleda; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • Your data travels to the provider's service, so the usual questions apply about what you send and what they retain.
  • With 10 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Openwebui.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
openwebui_list_functionsList all functions by type
openwebui_get_functionGet function with source code
openwebui_create_functionCreate a new Python function
openwebui_update_functionUpdate function code or metadata
openwebui_delete_functionDelete a function (requires confirm)
ChatsThe Chats tool exposed by this server.
FilesThe Files tool exposed by this server.
ModelsThe Models tool exposed by this server.
PromptsThe Prompts tool exposed by this server.
SystemThe System tool exposed by this server.

How to install the Openwebui MCP server

{
  "mcpServers": {
    "openwebui": {
      "command": "npx",
      "args": ["-y", "openwebui-mcp-server"],
      "env": {
        "OPENWEBUI_URL": "your-value",
        "OPENWEBUI_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js >= 18.0.0 - Open WebUI >= 0.3.0 (any self-hosted install) - API key from Open WebUI Settings → Account → API Keys ---
VariableDescriptionRequired
OPENWEBUI_URLEndpoint or connection string the server talks to.Yes
OPENWEBUI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Openwebui to openwebui list functions.
  • Use Openwebui to openwebui get function.
  • Use Openwebui to openwebui create function.

Frequently asked questions

It connects Openwebui to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (openwebui_list_functions, openwebui_get_function, openwebui_create_function, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Openwebui directly.