MCP server for Claude Code and Claude Desktop to interact with Open WebUI — manage chats, RAG knowledge bases, functions, and more.
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.
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.
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 typeopenwebui_get_function — Get function with source codeopenwebui_create_function — Create a new Python functionopenwebui_update_function — Update function code or metadataopenwebui_delete_function — Delete a function (requires confirm)Chats — The Chats tool exposed by this serverFiles — The Files tool exposed by this serverModels — The Models tool exposed by this serverPrompts — The Prompts tool exposed by this serverSystem — The System tool exposed by this serverBecause 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.
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.
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.
| Tool | What it does |
|---|---|
| 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. |
{
"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.
| Variable | Description | Required |
|---|---|---|
| OPENWEBUI_URL | Endpoint or connection string the server talks to. | Yes |
| OPENWEBUI_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.