# Learning Model Context Protocol

> Learning Model Context Protocol is an open-source MCP server for ai models and llm tooling. Small arithmetic server for learning how MCP servers and clients work. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** self-hosted, CLI
- **Website:** https://yarnabrina.github.io/learn-model-context-protocol/
- **Repository:** https://github.com/yarnabrina/learn-model-context-protocol
- **MCP Registry name:** io.github.yarnabrina/mcp-learning
- **Categories:** AI models and LLM tooling, developer tools
- **Listing updated:** 2026-11-16

## About

This is a hands-on learning project from an individual developer rather than a production service. The registry entry says it exposes basic arithmetic tools that parse and evaluate expressions written in natural language, which makes it a convenient target for trying out MCP clients.

The package, published on PyPI as mcp-learning, runs over streamable HTTP on a local address and is configured through environment variables for debug mode, runtime environment, log level, an optional log file, JSON responses and stateless HTTP. A documentation site covers installation, examples and usage, and server and client configuration.

It is licensed under AGPL-3.0-or-later. The README itself gives little detail about individual tools, so treat it as a sandbox for experimenting with MCP features.

## Features

- **Expression evaluation:** Parses and evaluates arithmetic expressions written in words.
- **Streamable HTTP:** Runs locally over HTTP on a configurable setup.
- **Logging options:** Debug mode, log level and optional log file.
- **Stateless mode:** Optionally serves each request independently.
- **Documentation site:** Guides for installation, usage and configuration.

## Good for

- Learn how an MCP server and client communicate
- Test client configuration with a simple tool
- Experiment with HTTP transport settings
- Use as a reference for a small Python MCP server

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-learning -- uvx mcp-learning
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-learning": {
      "command": "uvx",
      "args": [
        "mcp-learning"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-learning": {
      "command": "uvx",
      "args": [
        "mcp-learning"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-learning": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-learning"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-learning": {
      "command": "uvx",
      "args": [
        "mcp-learning"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-learning": {
      "command": "uvx",
      "args": [
        "mcp-learning"
      ]
    }
  }
}
```

## FAQ

### How do I install it?

Install the mcp-learning package from PyPI, as listed in the registry.

### What licence does it use?

AGPL-3.0-or-later.

### Which settings can I change?

DEBUG, RUNTIME_ENVIRONMENT, LOG_LEVEL, LOG_FILE, JSON_RESPONSE and STATELESS_HTTP.

### Where is it served by default?

At http://127.0.0.1:8000/mcp over streamable HTTP.

### Is Learning Model Context Protocol free?

Yes. Learning Model Context Protocol is open source, so you can use and self-host it for free.

### How do I add Learning Model Context Protocol to Claude Code?

Run this command in your terminal: claude mcp add mcp-learning -- uvx mcp-learning

### What are the best alternatives to Learning Model Context Protocol?

The closest alternatives to Learning Model Context Protocol are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/learning-model-context-protocol
