YajanaRao / notes-mcp

MCP server that interacts with your Notes

Repository from Github https://github.comYajanaRao/notes-mcpRepository from Github https://github.comYajanaRao/notes-mcp

Notes MCP

A local notes management system using the Model Context Protocol (MCP). This system allows you to create, read, search, and manage notes in a local directory, similar to Obsidian or Notion.

Features

  • Create and manage notes in Markdown format
  • Automatic metadata management (creation date, modification date)
  • Tag-based organization
  • Full-text search
  • Local storage (no cloud dependencies)

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build

The notes will be stored in the notes directory in your project root.

Available Commands

The MCP provides the following commands:

List Notes

notes.list();

Returns a list of all notes with their metadata.

Read Note

notes.read({ id: string });

Reads a specific note by its ID.

Write Note

notes.write({
  id: string,
  title: string,
  content: string,
  tags?: string[]
})

Creates or updates a note with the specified content and metadata.

Search Notes

notes.search({
  query: string,
  tags?: string[]
})

Searches notes by content and/or tags.

Note Format

Notes are stored in Markdown format with YAML front matter for metadata:

---
title: Note Title
tags: [tag1, tag2]
created: 2024-03-21T12:00:00.000Z
modified: 2024-03-21T12:00:00.000Z
---

Note content goes here...

License

ISC

About

MCP server that interacts with your Notes


Languages

Language:TypeScript 100.0%