Raspberry Pi Notes MCP server

Provides a lightweight note storage system for creating, reading, and summarizing notes with custom styling options, designed to run efficiently on Raspberry Pi devices.
Back to servers
Provider
daikw
Release date
Dec 17, 2024
Language
Python
Stats
1 star

This MCP server implements a simple note storage system for Claude, allowing users to save notes with custom URIs and create summaries of stored notes. It serves as a Model Context Protocol (MCP) extension to enhance Claude's capabilities with persistent note-taking functionality.

Installation

Setting Up Claude Desktop Integration

The MCP server needs to be configured in Claude Desktop to enable interaction with the application.

MacOS Configuration

Edit Claude Desktop config file at:

~/Library/Application\ Support/Claude/claude_desktop_config.json

Windows Configuration

Edit Claude Desktop config file at:

%APPDATA%/Claude/claude_desktop_config.json

Configuration Options

Using Published Package

Add the following to your Claude Desktop configuration file:

"mcpServers": {
  "mcp-server-on-raspi": {
    "command": "uvx",
    "args": [
      "mcp-server-on-raspi"
    ]
  }
}

Using Development Version

If working with an unpublished version, use:

"mcpServers": {
  "mcp-server-on-raspi": {
    "command": "uv",
    "args": [
      "--directory",
      "/path/to/mcp-server-on-raspi",
      "run",
      "mcp-server-on-raspi"
    ]
  }
}

Using the MCP Server

Available Features

Resources

The server implements a note storage system with:

  • Custom note:// URI scheme for accessing individual notes
  • Each note has a name, description and text/plain mimetype

Prompts

A single prompt is available:

  • summarize-notes: Creates summaries of all notes stored on the server
    • Use the optional "style" argument to control detail level (brief/detailed)
    • The prompt combines all current notes with your style preference

Tools

The server provides one tool:

  • add-note: Adds a new note to the server
    • Requires "name" and "content" as string arguments
    • After execution, the server updates its state and notifies Claude of resource changes

Debugging with MCP Inspector

For troubleshooting, you can use the MCP Inspector:

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-on-raspi run mcp-server-on-raspi

After running this command, the Inspector will provide a URL you can open in your browser to debug the server.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later