探索
Local Llm Obsidian Knowledge Base

Local Llm Obsidian Knowledge Base

一个包含开发容器的模板仓库,用于运行本地LLM和知识库,支持通过git subtree或git submodule添加git仓库,并通过MCP客户端/服务器关系(如VS Code扩展和Obsidian-MCP服务器)进行更新。
2分
0
2025-04-28 23:43:29
概述
内容详情
替代品

What is this project?

This is a development container template that allows you to run a local Large Language Model (LLM) with an integrated knowledge base. It combines the power of local AI processing with Obsidian's note-taking capabilities, using Model Context Protocol (MCP) for synchronization between different components.

How to use this system?

The system works by maintaining a knowledge base in Obsidian vault format, which can be synchronized with your local LLM through MCP protocol. You can add content via git repositories (using subtree or submodule) and update it through MCP clients like VS Code extensions.

Use Cases

Ideal for researchers, developers, and knowledge workers who want to maintain a personal AI-assisted knowledge base with: 1) Local privacy 2) Customizable LLM integration 3) Markdown-based knowledge management 4) Multi-client synchronization

Key Features

Local LLM IntegrationRun language models locally without cloud dependencies for complete privacy and control.
Obsidian Knowledge BaseLeverage Obsidian's powerful markdown-based knowledge management with backlinks and graph view.
MCP SynchronizationModel Context Protocol enables real-time updates between different clients and the knowledge base.
Git Repository SupportAdd and update knowledge content through git subtree or submodule integration.

Pros and Cons

Advantages
Complete data privacy with local processing
Customizable LLM integration tailored to your needs
Powerful knowledge management with Obsidian
Flexible synchronization through MCP protocol
Limitations
Requires technical setup knowledge
Local LLMs may have fewer capabilities than cloud alternatives
MCP protocol setup requires initial configuration

Getting Started

Clone the templateStart by cloning the template repository to your local machine.
Add your knowledge baseAdd your existing knowledge base using git subtree or submodule.
Configure MCP clientSet up your MCP client (like VS Code extension) to connect to the local MCP server.
Start the systemLaunch the development container and start the local LLM service.

Usage Scenarios

Research Note-TakingTake research notes in Obsidian while having the local LLM provide relevant suggestions and connections.
Code DocumentationMaintain code documentation that stays synchronized with your actual code repositories.

Frequently Asked Questions

1
What is MCP protocol?Model Context Protocol (MCP) is a communication protocol that enables different components (like VS Code extensions and Obsidian) to synchronize with your local LLM and knowledge base.
2
Can I use this without Obsidian?While optimized for Obsidian, the system can work with any markdown-based knowledge management system that supports file watching.
3
What LLMs are supported?The template is designed to work with most local LLMs that can be containerized, including LLaMA, Alpaca, and GPT4All models.

Additional Resources

Obsidian Official DocumentationComplete guide to using Obsidian for knowledge management
MCP Protocol SpecificationTechnical details about the Model Context Protocol
Local LLM Setup GuideStep-by-step instructions for configuring local language models
精选MCP服务推荐
Firecrawl MCP Server
Firecrawl MCP Server是一个集成Firecrawl网页抓取能力的模型上下文协议服务器,提供丰富的网页抓取、搜索和内容提取功能。
TypeScript
2,956
5分
Duckduckgo MCP Server
已认证
DuckDuckGo搜索MCP服务器,为Claude等LLM提供网页搜索和内容抓取服务
Python
212
4.3分
Figma Context MCP
Framelink Figma MCP Server是一个为AI编程工具(如Cursor)提供Figma设计数据访问的服务器,通过简化Figma API响应,帮助AI更准确地实现设计到代码的一键转换。
TypeScript
6,102
4.5分
Edgeone Pages MCP Server
EdgeOne Pages MCP是一个通过MCP协议快速部署HTML内容到EdgeOne Pages并获取公开URL的服务
TypeScript
88
4.8分
Context7
Context7 MCP是一个为AI编程助手提供实时、版本特定文档和代码示例的服务,通过Model Context Protocol直接集成到提示中,解决LLM使用过时信息的问题。
TypeScript
4,852
4.7分
Baidu Map
已认证
百度地图MCP Server是国内首个兼容MCP协议的地图服务,提供地理编码、路线规划等10个标准化API接口,支持Python和Typescript快速接入,赋能智能体实现地图相关功能。
Python
323
4.5分
Exa Web Search
已认证
Exa MCP Server是一个为AI助手(如Claude)提供网络搜索功能的服务器,通过Exa AI搜索API实现实时、安全的网络信息获取。
TypeScript
1,429
5分
Minimax MCP Server
MiniMax Model Context Protocol (MCP) 是一个官方服务器,支持与强大的文本转语音、视频/图像生成API交互,适用于多种客户端工具如Claude Desktop、Cursor等。
Python
364
4.8分
安装
复制以下命令到你的Client进行配置
注意:您的密钥属于敏感信息,请勿与任何人分享。