
joelhooks/logseq-mcp-tools
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
joelhooks/logseq-mcp-tools는 MCP 서버 후보자가 https://github.com/joelhooks/logseq-mcp-tools.에서 수입됩니다
개요
joelhooks/logseq-mcp-tools는 MCP 서버 후보자가 https://github.com/joelhooks/logseq-mcp-tools.에서 수입됩니다
개요(AI 번역)
DataPlus는 수천개의 금속 및 비금속 소재의 부식 데이터, 소재 접합 관련 정보, 소재 치수 및 공차 및 코팅 정보를 제공하는 부가적인 데이터 모듈입니다.
개요
이 프로젝트는 Claude와 같은 AI 조수가 Logseq 지식베이스와 상호 작용 할 수있는 MCP 서버를 만듭니다. · 도구 제공:
- 모든 페이지의 목록을 검색
- 특정 페이지의 내용 얻기
- 유연한 날짜 범위에 대한 저널 요약 생성
- 연결된 페이지 추출 및 연결 탐색
설치
Smithery를 통해 설치
Claude Desktop용 Logseq 도구 설치 Smithery를 통해:
-
Clone 이 저장소
-
npm, 털실, 또는 pnpm를 사용하여 의존성을 설치하십시오:
-
환경 템플릿을 복사하고 Logseq 토큰을 구성하십시오.
구성
이 프로젝트에는 .env.template] 파일이 포함되어 있습니다.
Logseq auth 토큰을 찾을 수 있습니다.:
- 오픈 Logseq
- 설정에서 HTTP API 활성화 > 기능 > HTTP API 사용
- 설정에서 인증 토큰 설정 > 기능 > HTTP API 인증 토큰
사용법
MCP 서버 실행
서버는 다음과 같이 시작될 수 있습니다:
Claude와 연결
Claude 데스크탑
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Logseq MCP Tools
A Model Context Protocol (MCP) server that provides AI assistants with structured access to your Logseq knowledge graph.
Overview
This project creates an MCP server that allows AI assistants like Claude to interact with your Logseq knowledge base. It provides tools for:
- Retrieving a list of all pages
- Getting content from specific pages
- Generating journal summaries for flexible date ranges
- Extracting linked pages and exploring connections
Installation
Installing via Smithery
To install Logseq Tools for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @joelhooks/logseq-mcp-tools --client claude
- Clone this repository
- Install dependencies using npm, yarn, or pnpm:
# Using npm
npm install
# Using yarn
yarn install
# Using pnpm
pnpm install
- Copy the environment template and configure your Logseq token:
cp .env.template .env
# Edit .env with your Logseq authentication token
Configuration
This project includes a .env.template file that you can copy and rename to .env.
You can find your Logseq auth token by:
- Opening Logseq
- Enabling the HTTP API in Settings > Features > Enable HTTP API
- Setting your authentication token in Settings > Features > HTTP API Authentication Token
Usage
Running the MCP Server
The server can be started using:
# Using the npm script
npm start
# Or directly with tsx
npx tsx index.ts
Connecting with Claude
Claude Desktop
Follow the Claude MCP Quickstart guide:
- Important: Install Node.js globally via Homebrew (or whatever):
brew install node
- Install the Claude desktop app
- Open the Claude menu and select “Settings…”
- Click on “Developer” in the left sidebar, then click “Edit Config”
- This will open your
claude_desktop_config.jsonfile. Replace its contents with:
{
"mcpServers": {
"logseq": {
"command": "npx",
"args": [
"tsx",
"/path/to/your/index.ts"
]
}
}
}
IMPORTANT: Replace /path/to/your/index.ts with the exact absolute path to your index.ts file (e.g.,
/Users/username/Code/logseq-mcp-tools/index.ts)
- Save the file and restart Claude Desktop
Now you can chat with Claude and ask it to use your Logseq data:
- “Show me my recent journal entries”
- “Summarize my notes from last week”
- “Find all pages related to [topic]”
Claude in Cursor
Follow the Cursor MCP documentation:
- Open Cursor
- Add a new MCP service from settings
- Enter the following command:
npx tsx "/path/to/index.ts"
- Give your service a name like “Logseq Tools”
설치
npx tsx /path/to/your/index.ts설정
{
"mcpServers": {
"logseq": {
"command": "npx",
"args": [
"tsx",
"/path/to/your/index.ts"
]
}
}
}