About Opencode Liter LLM
Opencode Liter LLM is an MCP server published by xberg-io in the RAG category: one API for every LLM: 170+ providers through one client, with a Rust core and native bindings for every major language. Conduid read 22 tools from its source: cancel_batch, cancel_response, chat, create_batch, create_file, create_response and 16 more. It is published to npm as @xberg-io/opencode-liter-llm, a package with no command-line entry point.
The repository has 269 stars and 29 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v2.7.1 (14 Nov 2026). It follows v2.7.0 (6 Nov 2026), and the 5 most recent releases go back to v2.5.0 (4 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include api-client, machine-learning, polyglot and streaming.
Install
npm install @xberg-io/opencode-liter-llmgit clone https://github.com/xberg-io/liter-llmTools (22)
cancel_batchCancel an in-progress batch processing jobcancel_responseCancel an in-progress response (Responses API)chatSend a chat completion request to an LLMcreate_batchCreate a new batch processing jobcreate_fileUpload a file to the LLM providercreate_responseCreate a new response (Responses API)delete_fileDelete an uploaded fileembedGenerate text embeddings for the given inputfile_contentRetrieve the raw content of an uploaded filegenerate_imageGenerate images from a text promptlist_batchesList batch processing jobslist_filesList uploaded fileslist_modelsList available models from configured providersmoderateCheck content against moderation policiesocrExtract text from an image or document via OCRrerankRerank documents by relevance to a queryretrieve_batchRetrieve a batch processing job by IDretrieve_fileRetrieve metadata for an uploaded fileretrieve_responseRetrieve a response by ID (Responses API)searchPerform a web or document searchspeechGenerate speech audio from text (text-to-speech)transcribeTranscribe audio to text (speech-to-text)Security checks
- ✓README presentThe repository's README runs to about 1.7K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 1.7K words, fetched 13 days ago. The original in the repository is authoritative.
Read full README