Skip to content
プロジェクト

joepetrakovich/obsidian-lmstudio-connect

GitHubで見る

概要

An Obsidian plugin to connect and chat with AI running on an LM Studio instance.

AI・機械学習

この数値の測り方

計測したスター増加

24時間
0
7日間
履歴を収集中
15日間
履歴を収集中
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

 __         __    __     ______     ______   
/\ \       /\ "-./  \   /\  ___\   /\  ___\  
\ \ \____  \ \ \-./\ \  \ \___  \  \ \ \____ 
 \ \_____\  \ \_\ \ \_\  \/\_____\  \ \_____\
  \/_____/   \/_/  \/_/   \/_____/   \/_____/

LM Studio Connect

An Obsidian plugin that provides an AI chat interface to an LM Studio instance and a lightweight read-only agent harness around your vault. Allows you to use LLMs with your notes privately and offline.

Bugs, Issues, and Feature Requests

How to use

  • Ensure you have LM Studio set up and that the server is running with the CORS option enabled.
  • Once the plugin is installed, visit the plugin's settings page in Obsidian and verify it can connect to LM Studio.

[!NOTE] Small models may fail to reply when reading note content if their context limit is too small. It's recommended to have a context length of at least 64256 tokens.

Chat view

  • You can reveal the chat window via the Obsidian command pallete or ribbon menu.
  • To chat with notes, begin typing '[[' to open a file picker or use the file picker button at the bottom of the chatbox.
  • The LLM is also made aware of your current open notes so you can talk about them without referencing them explicitly.

Use MCP servers configured in LM Studio

The plugin can use MCP servers you've configured in LM Studio directly.

  • Add your MCP servers to LM Studio's mcp.json.
  • In the plugin settings, disable Use vault tools to use LM Studio's system prompt and MCP server configuration directly.
  • Enable the servers you want under the MCP servers section that appears.

[!WARNING] Requires authentication and the "Allow calling servers from mcp.json" setting to be enabled in LM Studio.

Codeblock prompts

You can also embed a prompt directly in your notes using a fenced codeblock with the lmsc language identifier:

```lmsc
prompt: What's the weather in New York today?
```

Options:

  • prompt (required) - The prompt to send to the LLM
  • hideToolUse (optional, default: false) - When true, hides tool call details from the response
  • hideReasoning (optional, default: false) - When true, hides the reasoning/thinking output from the response

LM Studio Connect chat window Chat with your notes

Note: Not affiliated with the official LM Studio company, Element Labs, Inc.

関連プロジェクトを探す

読み込み中…