Claude-LMStudio Bridge
Summary
Claude-LMStudio Bridge enables Claude to interact with local LLMs running in LM Studio through a robust MCP server implementation. It provides tools for checking connectivity, listing available models, generating text, and handling chat completions with local models. The bridge uses httpx for API communication with LM Studio's server, supports customizable parameters like temperature and token limits, and includes comprehensive error handling. Particularly valuable for users who want to leverage their local models' capabilities directly within Claude conversations, reducing reliance on cloud-based LLMs while maintaining a seamless conversation experience.
Available Actions(4)
check_connection
Check the connection to the LM Studio server.
list_models
List the available models in the local LM Studio.
generate_text
Generate text with a local model. Example usage: 'Generate a short poem about spring using my local LLM'.
chat_completion
Send a chat completion request to the local LLM. Example usage: 'Ask my local LLM: "What are the main features of transformers in machine learning?"'.
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论