#Ollama: Deepseek-r1:7b and MCP DB integration

1 messages · Page 1 of 1 (latest)

shrewd jay
#

Hi LibreChatters,

Trying some weird thing; I want to befriend Ollama: Deepseek-r1:7b and MCP DB (Clickhouse)
MCP works well with Claude/GPT-4o, but it seems not with Deepseek...

Any thoughts will be blessed!

Thanks

2025-05-17 12:55:56 error: [api/server/controllers/agents/client.js #sendCompletion] Operation aborted registry.ollama.ai/library/deepseek-r1:7b does not support tools
2025-05-17 12:55:56 error: [api/server/controllers/agents/client.js #sendCompletion] Unhandled error type registry.ollama.ai/library/deepseek-r1:7b does not support tools
raven dragon
shrewd jay
# raven dragon the error is clear, `deepseek-r1` does not support tool usage

You are kind of right and not exactly (the devil is in the details). The model itself supports it, but the template implementation by the Ollama team makes it not support tools.
I found another <template> for the same model 'MFDoom/deepseek-r1-tool-calling:7b', that actually supports tools, but not perfectly.
The one model I found doing better is Qwen3 for my use case, which is NL->Reasoning->SQL(MCP)->Reasoning->Result.
I'd be grateful If you could suggest a better local model that can fit my use case.