Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

An MCP server for managing learning prompts, supporting both global and local learnings with automatic git commits for shared use.

README.md

learnings-mcp

A Model Context Protocol (MCP) server for managing learning prompts.

What is MCP?

The Model Context Protocol is an open protocol that standardizes how applications provide context to LLMs. It enables AI applications like Claude to seamlessly integrate with external data sources and tools.

Installation

This MCP server is not published to npm. Install it directly from GitHub using Bun:

bun install github:nitsanavni/learnings-mcp

Or clone the repository:

git clone https://github.com/nitsanavni/learnings-mcp.git
cd learnings-mcp
bun install

Configuration

Claude Code CLI (User Scope)

If you're using the Claude Code CLI, you can add this MCP server globally for all your projects:

claude mcp add -s user learnings bunx -- github:nitsanavni/learnings-mcp --repository https://github.com/yourusername/your-learnings-repo.git --clone-location ~/.learnings/learnings

This adds the server to your user-level MCP configuration, making it available across all Claude Code sessions.

Claude Desktop

Add this server to your Claude Desktop configuration file:

macOS/Linux: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Option 1: Run directly from GitHub (Recommended)

{
  "mcpServers": {
    "learnings": {
      "command": "bunx",
      "args": [
        "--bun",
        "github:nitsanavni/learnings-mcp",
        "--repository",
        "https://github.com/yourusername/your-learnings-repo.git",
        "--clone-location",
        "/path/to/clone/location"
      ]
    }
  }
}

CLI Arguments:

  • --repository <path-or-url>: Repository path or GitHub URL for storing global learnings
  • --clone-location <path>: Where to clone remote repositories (default: ~/.learnings/<repo-name>)
  • --local-learnings-folder <path>: Local learnings folder relative to current directory (default: learnings)

This will automatically fetch and run the latest version from GitHub.

Note: To ensure you're running the latest version, you may need to clear Bun's cache:

bun pm cache rm

Option 2: Run from local clone

{
  "mcpServers": {
    "learnings": {
      "command": "bun",
      "args": [
        "run",
        "/ABSOLUTE/PATH/TO/learnings-mcp/index.ts",
        "--repository",
        "https://github.com/yourusername/your-learnings-repo.git",
        "--clone-location",
        "/path/to/clone/location"
      ]
    }
  }
}

Replace /ABSOLUTE/PATH/TO/learnings-mcp/ with the actual path where you cloned this repository.

Restart Claude Desktop

After updating the configuration, restart Claude Desktop for the changes to take effect.

Usage

Once configured, you can interact with learning prompts through Claude Desktop using the tools provided by this MCP server.

Global vs Local Learnings

The server supports two types of learnings:

  • Global learnings: Stored in the repository specified by --repository. These are automatically committed and pushed to the remote repository (if it's a git repo). This is the recommended default for learnings you want to share across projects.
  • Local learnings: Stored in a folder relative to your current working directory (default: learnings/, configurable via --local-learnings-folder). These are not committed to git automatically - they're just files on your local filesystem. Use these for project-specific or temporary learnings.

When listing or getting learnings, the server will show results from both global and local repositories. When adding a learning, you can specify scope: "global" (default) or scope: "local".

Development

This project uses Bun as its runtime.

To run locally:

bun run index.ts

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Developer Tools servers.