offline-mcp

v0.1.13
io.github.gabrielmahia/offline-mcp Checked 4 days ago Published 25 days ago

Local AI over Ollama for low connectivity: status, local inference, model and deployment guides.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_ollama_status Check Ollama Status

Check whether a local Ollama server is running at localhost:11434 and which models it has. Use before run_local_inference, or when someone asks whether offline AI is ready. Takes no arguments and contacts only your own machine (3 second timeout). Returns ollama_running, the model names, a count and the endpoint, or ollama_running false with the error and a link to the official download page. Read-only: it only lists models.

run_local_inference Run Local Inference

Send a prompt to a local Ollama model and return its answer, with no internet needed once the model is downloaded. Use when no cloud model is reachable or the text must stay on the machine. The prompt goes only to Ollama at localhost:11434 (60 second timeout, non-streaming) and nothing is stored by this tool. Returns the response text, the model used, the token count and offline true, or an error with a hint to start Ollama if it is not running. Read-only with respect to your data; it uses local compute, and answers from small models can be wrong.

ParameterTypeDescription
prompt *stringThe text to send to the local model. It is sent only to localhost.
modelOllama model name (default llama3.2:3b); it must already be pulled.

degraded_mode_guide Degraded Mode Guide

Guide to running AI when connectivity or power is unreliable: why it matters, how to install Ollama, pull a small model, test it and point MCP clients at localhost, with hardware minimums and a Raspberry Pi note. Use when planning an offline or low-bandwidth deployment. Takes no arguments. Returns the explanation, numbered setup steps, hardware minimums and deployment tips. A static guide: follow the vendor's own install instructions at ollama.com. Read-only; no side effects.

open_weights_directory Open Weights Directory

Directory of open-weights model families with sizes, languages and licences, including African-language support such as Aya and Masakhane work, plus speech and translation resources (WAXAL, Paza, AfriNLLB, TranslateGemma) with their licences. Use when someone asks which open models or datasets cover Swahili or other African languages, or what the licence allows. use_case filters the language models by matching text; if nothing matches, ALL models are returned. Returns the source label, the language models, an Africa note, how to deploy them locally and the speech and translation resources with…

ParameterTypeDescription
use_caseOptional filter text such as swahili.

local_deployment_guide Local Deployment Guide

Setup guide for running a local model on a device type: laptop, Raspberry Pi and others in the table, with hardware, install steps and a model suggestion. Use when someone asks how to deploy offline AI on specific hardware. An unrecognised device_type returns the laptop guide. Returns the source label, the device_type, the guide, all_options and a solar note. A static guide: follow the vendor's install instructions. Read-only; no side effects.

ParameterTypeDescription
device_typelaptop (default), raspberry_pi or another device in the table.