obsidian-smart-composer

MCP.Pizza Chef: glowingjade

Obsidian Smart Composer is an advanced MCP client designed for the Obsidian note-taking environment. It provides an AI chat assistant with deep contextual awareness by referencing your vault content, enabling smarter writing assistance and one-click edits. Featuring vault-aware conversations and semantic search, it enhances productivity by reducing repetitive context input. The client supports local AI models and integrates with external AI tools via the open Model Context Protocol (MCP) standard, making it a powerful tool for efficient, context-rich content creation within Obsidian.

Use This MCP client To

Enable AI-assisted writing within Obsidian notes Perform semantic search across vault content Conduct vault-aware AI chat conversations Make one-click AI-powered text edits Integrate local AI models for offline use Connect external AI tools via MCP standard

README

Smart Composer

Documentation · Report Bug · Discussions

Note

🚀 New Feature: Model Context Protocol (MCP) is now available!
You can now connect Smart Composer to external AI tools and using the open MCP standard.

SC1_Title.gif

Everytime we ask ChatGPT, we need to put so much context information for each query. Why spend time putting background infos that are already in your vault?

Smart Composer is an Obsidian plugin that helps you write efficiently with AI by easily referencing your vault content. Inspired by Cursor AI and ChatGPT Canvas, this plugin unifies your note-taking and content creation process within Obsidian.

Features

Contextual Chat

SC2_ContextChat.gif

Upgrade your note-taking experience with our Contextual AI Assistant, inspired by Cursor AI. Unlike typical AI plugins, our assistant allows you to precisely select the context for your conversation.

  • Type @<fname> to choose specific files/folders as your conversation context
  • Get responses based on selected vault content

Multimedia Context

SC2-2_MultiContext.png

Now, you can add website links and images as additional context for your queries.

  • Website content is automatically extracted
  • Image support: Add images directly to your chat through:
    • Upload button
    • Drag & drop
    • Paste from clipboard
  • Youtube link support: YouTube transcripts are fetched and included as context
  • Coming soon: Support for external files (PDF, DOCX, ...)

Apply Edit

SC3_ApplyEdit.gif

Smart Composer suggests edits to your document. You can apply with a single click.

  • Offers document change recommendations
  • Apply suggested changes instantly

Vault Search (RAG)

SC4_RAG-ezgif.com-crop-video.gif

Automatically find and use relevant notes from your vault to enhance AI responses.

  • Hit Cmd+Shift+Enter to run Vault Search answer
  • Semantic search across your vault to find the most relevant context

Model Context Protocol (MCP)

mcp_demo

Connect Smart Composer to external MCP servers. MCP lets you use powerful third-party tools and data sources right inside your chat.

Additional Features

  • Custom Model Selection: Use your own model by setting your API Key (stored locally). Supported providers:
    • OpenAI
    • Anthropic
    • Google (Gemini)
    • Groq
    • DeepSeek
    • OpenRouter
    • Azure OpenAI
    • Ollama
    • LM Studio
    • MorphLLM
    • Any other OpenAI-compatible providers
  • Local Model Support: Run open-source LLMs and embedding models locally with Ollama for complete privacy and offline usage.
  • Custom System Prompts: Define your own system prompts that will be applied to every chat conversation.
  • Prompt Templates: Create and reuse templates for common queries by typing / in the chat view. Perfect for standardizing repetitive tasks.
    • Create templates from any selected text with one click

Getting Started

Important

Installer Version Requirement
Smart Composer requires a recent version of the Obsidian installer. If you experience issues with the plugin not loading properly:

  1. First, try updating Obsidian normally at Settings > General > Check for updates.

  2. If issues persist, manually update your Obsidian installer:

  1. Open Obsidian Settings
  2. Navigate to "Community plugins" and click "Browse"
  3. Search for "Smart Composer" and click Install
  4. Enable the plugin in Community plugins
  5. Set up your API key in plugin settings

Tip

Looking for a free option?
Gemini API provides the best performance among free models for Smart Composer. Recommended for users looking for a free option.

📚 For detailed setup instructions and documentation, please visit our Documentation.

Roadmap

To see our up-to-date project roadmap and progress, please check out our GitHub Projects kanban board.

Some of our planned features include:

  • Support for external files (PDF, DOCX, etc.)
  • Mentioning with tags or other metadata

Feedback and Support

We value your input and want to ensure you can easily share your thoughts and report any issues:

  • Bug Reports: If you encounter any bugs or unexpected behavior, please submit an issue on our GitHub Issues page. Be sure to include as much detail as possible to help us reproduce and address the problem.

  • Feature Requests: For new feature ideas or enhancements, please use our GitHub Discussions - Ideas & Feature Requests page. Create a new discussion to share your suggestions. This allows for community engagement and helps us prioritize future developments.

  • Show and Tell: We love seeing how you use Smart Composer! Share your unique use cases, workflows, or interesting applications of the plugin in the GitHub Discussions - Smart Composer Showcase page.

Your feedback and experiences are crucial in making Smart Composer better for everyone!

Contributing

We welcome all kinds of contributions to Smart Composer, including bug reports, bug fixes, documentation improvements, and feature enhancements.

For major feature ideas, please create an issue first to discuss feasibility and implementation approach.

If you're interested in contributing, please refer to our CONTRIBUTING.md file for detailed information on:

  • Setting up the development environment
  • Our development workflow
  • Working with the database schema
  • The process for submitting pull requests
  • Known issues and solutions for developers

Contributors

Core Team

These contributors were instrumental in shaping the initial vision, architecture, and design of Smart Composer:

@glowingjade (Twitter), @kevin-on, @realsnoopso (Twitter · LinkedIn), @woosukji

Additional Contributors

We also want to thank everyone else who has contributed. Your time and effort help make Smart Composer better for everyone!

License

This project is licensed under the MIT License.

Support the Project

If you find Smart Composer valuable, consider supporting its development:

Buy Me A Coffee

Follow me on X (Twitter) @andy_suh_ for updates and announcements!

Your support helps maintain and improve this plugin. Every contribution is appreciated and makes a difference. Thank you for your support!

Star History

Star History Chart

obsidian-smart-composer FAQ

How does Smart Composer use my Obsidian vault content?
It references your vault context to provide AI responses that are aware of your notes, improving relevance and reducing repeated context input.
Can I use Smart Composer without an internet connection?
Yes, it supports local AI models, allowing offline AI assistance within Obsidian.
How does Smart Composer integrate with other AI tools?
It uses the open Model Context Protocol (MCP) to connect seamlessly with external AI services and tools.
Is Smart Composer compatible with semantic search?
Yes, it features semantic search capabilities to find relevant information across your vault efficiently.
How do one-click edits work in Smart Composer?
You can select text and apply AI-powered edits instantly with a single click, streamlining your writing process.
Where can I find documentation and support for Smart Composer?
Documentation, bug reports, and community discussions are available on its GitHub repository.
Does Smart Composer support multiple AI providers?
While it supports local models, it can also connect to various AI providers through MCP, including OpenAI, Anthropic Claude, and Google Gemini.
How secure is my data when using Smart Composer?
Since it references your local vault and supports local models, your data remains private unless you connect to external AI services.