Legacy

Give to UK registered charities: check charity numbers, price a gift and get a checkout link.

Should I use this

Quality & Safety

A
Description quality
93%
Schema completeness
84%
Naming quality
93%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,124Tokens (tool definitions)
~3.3 KBTypical response size
Moderate attention impact (0.88% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "donate": {
      "url": "https://donate.givewithlegacy.com/mcp"
    }
  }
}

Remote endpoints

https://donate.givewithlegacy.com/mcpstreamable-http

What it can do

Tool inventory

Tools (3)

🟒 Read-only🟑 WriteπŸ”΄ Deleteβšͺ Unknown
🟒check_charities(charityNumbers)

Look up UK registered charities by charity number and say which can take a gift through Legacy. Gives our name for each number, so you can confirm it is the charity the donor meant.

Input Schema

{
  "type": "object",
  "properties": {
    "charityNumbers": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9 -]{1,20}$",
        "description": "A UK registered charity number, e.g. 220949 (England & Wales) or SC022140 (Scotland)"
      }
    }
  },
  "required": [
    "charityNumbers"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "charities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "charityNumber": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "available",
              "not_accepting",
              "not_found",
              "ambiguous"
            ]
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "logoUrl": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "charityNumber",
          "status"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "charities"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟒quote(charities, giftAid, tipPercentage)

What a gift to these charities comes to: what the donor pays, the payment processing fee, each charity’s share and, if asked, the Gift Aid they could claim. The donor chooses Gift Aid and any tip at checkout, so these are assumptions.

Input Schema

{
  "type": "object",
  "properties": {
    "charities": {
      "minItems": 1,
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "charityNumber": {
            "type": "string",
            "pattern": "^[A-Za-z0-9 -]{1,20}$",
            "description": "A UK registered charity number, e.g. 220949 (England & Wales) or SC022140 (Scotland)"
          },
          "amount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "Pounds, e.g. 20 or 12.50"
          }
        },
        "required": [
          "charityNumber",
          "amount"
        ]
      }
    },
    "giftAid": {
      "default": false,
      "description": "Whether to show Gift Aid, which only a UK taxpayer can add",
      "type": "boolean"
    },
    "tipPercentage": {
      "default": 0,
      "description": "An optional tip to Legacy, taken from the gift",
      "type": "number",
      "minimum": 0,
      "maximum": 100
    }
  },
  "required": [
    "charities"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "donorPays": {
      "type": "number"
    },
    "paymentProcessing": {
      "type": "number"
    },
    "platformTip": {
      "type": "number"
    },
    "giftAid": {
      "type": "number"
    },
    "charitiesReceive": {
      "type": "number"
    },
    "charities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "charityNumber": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "receives": {
            "type": "number"
          },
          "giftAid": {
            "type": "number"
          }
        },
        "required": [
          "charityNumber",
          "name",
          "amount",
          "receives",
          "giftAid"
        ],
        "additionalProperties": false
      }
    },
    "minimumPerCharity": {
      "type": "number"
    },
    "minimumTotal": {
      "type": "number"
    },
    "maximumTotal": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "required": [
    "donorPays",
    "paymentProcessing",
    "platformTip",
    "giftAid",
    "charitiesReceive",
    "charities",
    "minimumPerCharity",
    "minimumTotal",
    "maximumTotal"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟒create_checkout_link(charities)

A link to Legacy’s checkout with these charities, and the amounts when given. The donor opens it to give their details, answer Gift Aid, choose an optional tip and pay by card; the amounts stay theirs to change.

Input Schema

{
  "type": "object",
  "properties": {
    "charities": {
      "minItems": 1,
      "maxItems": 6,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "charityNumber": {
            "type": "string",
            "pattern": "^[A-Za-z0-9 -]{1,20}$",
            "description": "A UK registered charity number, e.g. 220949 (England & Wales) or SC022140 (Scotland)"
          },
          "amount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "Pounds, e.g. 20 or 12.50"
          }
        },
        "required": [
          "charityNumber"
        ]
      }
    }
  },
  "required": [
    "charities"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Output Schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "charities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "charityNumber": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "amount": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "charityNumber",
          "name",
          "amount"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "url",
    "charities"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded3 tools
verifiedversion not recorded3 tools
verifiedversion not recorded3 tools
verifiedversion not recorded3 tools