Back to directory

PromptChain

PromptChain is a pip-installable library and MCP server for explicitly loading, unloading, pinning and swapping local language models across LM Studio and Ollama, plus a small Streamlit app that chains a drafting model into a coding model with a human review step in between.

PromptChain

The library gives a single client, and a matching MCP server, that spans LM Studio, Ollama and any OpenAI-compatible endpoint, with a policy engine rather than raw load and unload calls: it can show what is resident across both servers at once, pin a model so it is never evicted, preload the next model before it is needed, swap a whole working set in one call, and cap usage by count or VRAM budget. Exposed over MCP, the same controls let a coding agent manage its own GPU memory across backends instead of leaving that to a server heuristic or a human alt-tabbing between apps.

Built on top of the library, the PromptChain application itself is a two-model pipeline: a small local model drafts a prompt, a human edits it, and a larger local or cloud model then writes the code.

It is a Python project distributed on PyPI, released under the MIT license.

More in MCP servers

See all 734
  • Light Cloud

    light-cloud.com

    A hosting platform that deploys a static site, a container, or a managed Postgres database straight from a GitHub, GitLab, or Bitbucket push, with a preview URL for every branch and an MCP server for deploying from Claude Code.

  • ForensicDbg

    forensicdbg.com

    A post-mortem debugger for native Windows x86 and x64 crashes, with an MCP interface so AI tools can consume crash-dump analysis directly.

  • Karada.ai

    karada.ai

    A CI/CD platform that auto-compiles existing APIs into Go MCP servers, attaches composable middleware, and exposes them through one gateway usable from Cursor, Claude Code, and Windsurf.