Little Green Light MCP Server
The Little Green Light MCP Server provides a direct and secure interface for AI assistants to interact with a Little Green Light donor CRM, supporting comprehensive management of constituents, gifts, groups, notes, and more.
Constituent Management
Search, retrieve, create, update, and delete constituent records.
Advanced server-side searches with custom attribute filters, location, membership status, groups, lists, and date ranges.
Find constituents who have never had a specific custom attribute set.
One-shot donor lookup (
get_donor_context): profile + recent gifts + group memberships + notes.Full profile export (
export_constituent_profile): all related records in one call.Manage contact sub-resources: addresses, phones, emails, web addresses (CRUD).
Manage constituent relationships, class/school affiliations.
Fundraising & Gifts
Record, list, update, and delete gifts with date-range filtering.
Manage campaigns, funds, appeals, events, and appeal requests (CRUD).
Activities & Notes
Log, update, and delete notes, contact reports, and volunteer hours.
Log document links (e.g., OneDrive, SharePoint) since direct file upload isn't supported.
Groups & Memberships
Create and manage groups, add/remove members, list memberships.
Create a group with multiple constituents in a single operation.
Manage membership program enrollments and list membership levels.
Human-Reviewed Writes
Submit constituents, gifts, notes, event registrations, and appeal requests for manual approval via LGL's Integration Queue.
Security & Compliance
Three permission levels: read-only, assisted (reads + notes + human-reviewed writes), and full (unrestricted).
Automatic access audit logging: notes
[AI Access Log]on constituent records when detail views are accessed in full or assisted mode.Optional HTTP bearer token authentication for the Streamable HTTP transport.
Technical & Integration
Zero-middleware: direct connection between AI client and LGL API over HTTPS.
Supports Stdio transport (local apps like Claude Desktop) and Streamable HTTP (SSE) for cloud environments or IDEs like Cursor.
Integrates with Claude Desktop, Cursor, Windsurf, LibreChat, Open WebUI, and more.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Little Green Light MCP Server Search for a constituent named Jane Smith"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Little Green Light (LGL) MCP Server
A direct, secure, and high-fidelity Model Context Protocol (MCP) Server for the Little Green Light CRM database. This server allows AI coding assistants and chat applications (like Claude Desktop, LibreChat, or Open WebUI) to securely interact with your donor database to search constituents, log gifts, categorize taxonomic groups, and generate reports locally without any third-party middleware (like Zapier).
Features
Constituents & Core Management: Search, retrieve, create, update, and delete constituent records.
create_constituentrejects a fully blank identity (needsorganization_name, or at least one offirst_name/last_name) rather than silently creating an empty record. Bulk name-resolution helpers (used to label aggregate reports liketop_donors) distinguish a genuine "constituent doesn't exist" from any other lookup failure (rate limit, network, auth) instead of masking both as the same fallback.Advanced Server-Side Search:
search_constituents_advancedfilters constituents directly through LGL's own query engine — custom attributes (contains/equals/starts-with/blank/not-blank), keyword, location, membership status/level, groups, lists, and updated date — all AND'd together and referenced by friendly display name rather than internal LGL IDs. Attribute values are only included in results when explicitly requested (include_custom_attrs), keeping ordinary filtered lookups lightweight.constituents_never_touched_attributefinds records that have never had a given custom attribute set at all — a state LGL's own blank/not-blank operators can't distinguish from "set but empty."constituents_missing_infowalks the full constituent list (not just the first page) to find records missing an email, phone, or address, and returnscountseparately from thelimit-sliced results, flaggingtruncatedif the account is large enough to hit the underlying scan's page cap.Fundraising & Gifts: Record new gifts, list transactions (with date-range filters), search payments, and view campaigns, funds, appeals, and events. Gift/donor-lookup tools surface each record's gift type and pledge/installment linkage, and giving-total reports exclude pledges from cash totals to avoid double-counting — see Gift Types & Pledge Linkage below.
Contact Sub-Resources: Fully manage street addresses, phone numbers, email addresses, and web addresses for constituents.
Activities & Notes: Log notes, write contact reports, and track volunteer hours.
Groups & Memberships: Organize constituents into customizable groups and membership levels.
One-Shot Donor Lookup:
get_donor_contextreturns profile + recent gifts + group memberships + recent notes in a single call (resolves by name or ID).Full Profile Export:
export_constituent_profilemirrors LGL's own "Export Profile" button — full record, complete gift history, relationships, class/school affiliations, memberships, volunteer time, contact reports, appeal requests, event invitations, group memberships, and notes, fetched in parallel in one call.Document Links:
log_document_linkrecords a note pointing at a file hosted elsewhere (OneDrive/SharePoint/etc.) — LGL's API has no file-upload endpoint, so this is a reference, not a real attachment. See API Gaps & Workarounds below.Groups as Saved Lists:
create_group_with_memberscreates a group and adds constituents to it in one call — the closest API-native substitute for LGL's UI-only dynamic Lists, which have no create/edit endpoint. Membership writes are batched (20 at a time) rather than fired all at once, so a large constituent list doesn't blast the API with unbounded concurrent requests. See API Gaps & Workarounds below.Three Permission Levels: strictly read-only, assisted (read-only plus notes and human-reviewed webhook writes), and full. See Permission Levels below.
Access Audit Trail:
get_constituent,get_donor_context, andexport_constituent_profileautomatically log when they're used — as an[AI Access Log]note on the constituent's LGL record, or as a row in a local Excel file, depending onLGL_ACCESS_LOG_DESTINATION. See Access Audit Logging below.Human-Reviewed Writes: Five
submit_*_for_reviewtools post to LGL's own Integration Queue webhook instead of the API, so a person approves every write in LGL before it takes effect. Available in full mode and assisted mode. See Human-Reviewed Writes below.Zero-Middleware Architecture: Data transits directly between the local AI client and the LGL API, reducing security risks and third-party fees.
Related MCP server: db-connector
Installation & Setup
1. Prerequisites
Node.js (v18 or higher recommended)
A Little Green Light API Key (Generate one in your LGL account under Settings > Integration > API Keys)
2. Install Dependencies
Clone this repository to your local machine, open a terminal in the folder, and run:
npm install3. Configure Environment Variables
Copy the .env.example template to create your local .env configuration file:
cp .env.example .envOpen .env in a text editor and replace the placeholder with your actual LGL API key and configuration:
LGL_API_KEY=your_lgl_api_key_here
PORT=3000
# Optional: Secure your Streamable HTTP endpoint with Bearer Token Authentication
LGL_MCP_TOKEN=your_secure_bearer_token_here
# Optional: enables the submit_*_for_review tools — see "Human-Reviewed Writes" below
LGL_INTEGRATION_LISTENER_URL=https://your-account.littlegreenlight.com/integrations/your-integration-id/listener
# Optional: field-name casing for submit_*_for_review payloads — "snake"
# (default) or "title" — see "Human-Reviewed Writes" below
LGL_INTEGRATION_FIELD_CASE=snake
# Optional: choose where the automatic access-audit trail is logged —
# "lgl_note" (default) writes a note directly to LGL, "excel" appends a row
# to a local spreadsheet instead. See "Access Audit Logging" below.
LGL_ACCESS_LOG_DESTINATION=lgl_note
# Required only when LGL_ACCESS_LOG_DESTINATION=excel — absolute path to the
# .xlsx file to append access-log rows to.
LGL_ACCESS_LOG_PATH=C:\path\to\AI_Access_Log.xlsxPermission Levels
Two env vars combine to give three permission levels:
Level |
|
| What's allowed |
Strictly read-only |
| unset/ | Reads only. Zero writes of any kind — no direct mutations, no notes (including the automatic access-audit note when |
Assisted |
|
| Everything read-only allows, plus low-risk, easily-reviewed writes: the automatic access-audit notes, explicit |
Full | unset/ | (ignored) | Unrestricted — every tool, including direct |
# Strictly read-only
LGL_READ_ONLY=true
# Assisted: read-only plus notes and human-reviewed webhook writes
LGL_READ_ONLY=true
LGL_ASSISTED_MODE=trueIn both read-only and assisted mode, disallowed tools are hidden from tools/list (not just rejected on call) so the AI assistant doesn't try to use them. LGL_ASSISTED_MODE has no effect unless LGL_READ_ONLY=true is also set — in full mode everything it unlocks is already available. Recommended whenever you point the server at a live donor database: use strictly read-only for pure exploratory sessions, assisted when you also want the access-audit trail and human-reviewed writes to work.
All tools also publish MCP annotations (readOnlyHint, destructiveHint, idempotentHint) so clients can warn before destructive calls without depending on the server-side guard.
Access Audit Logging
Whenever get_constituent, get_donor_context, or export_constituent_profile is called, the server logs the access for audit purposes. Where that log goes is controlled by LGL_ACCESS_LOG_DESTINATION:
lgl_note(default): writes a note directly to that constituent's record in LGL — e.g.[AI Access Log] Record accessed via LGL MCP Server (get_constituent) on 2026-07-13 17:24 UTC.It rides along with whichever permission level is active, and is silently skipped under strictly read-only, where the whole point is to leave zero footprint on LGL.excel: appends a row (timestamp, tool, constituent ID, constituent name) to the.xlsxfile atLGL_ACCESS_LOG_PATHinstead. Fires in every mode, including strictly read-only, since it never writes to LGL at all.
Deactivating a note type in LGL's UI (Settings → Menu Items → Note Types) does not hide existing notes of that type from a constituent's activity view, and the API can still write new notes using a deactivated type's ID — so deactivating the note type used for lgl_note logging doesn't reduce clutter, it only keeps that type out of the manual "new note" dropdown for staff. If note clutter on constituent records is the concern, switch to excel instead.
A few things worth knowing:
Scope is single-record detail views only. Bulk
list_*/search_*calls do not log — noting every row of a 50-record list would flood the log with little audit value. Only tools that open one specific donor's file do.Best-effort, either destination: if writing the log entry fails for any reason, the read that triggered it still succeeds; the failure is logged to stderr, not surfaced as a tool error. For
excel, a locked file (e.g. open in Excel) is retried a few times before giving up.lgl_notewrites directly via the API, not through the Integration Queue — an audit trail that needed human approval to appear defeats the purpose. It also needs an existingnote_type_id(a number), not a type name — passing a name is silently ignored by LGL rather than applied. The server resolves this at runtime (preferring a type literally named "General", falling back to whatever type exists first) rather than hardcoding an ID, since type IDs are account-specific. This same fix applies tocreate_note/update_note, which previously accepted anote_typestring that never actually applied — invalid type names now raise a clear error instead of silently creating an untyped note.excelcreates the file if it doesn't exist, with a bold, frozen header row (Timestamp,Tool,Constituent ID,Constituent Name), and keeps growing indefinitely — there's no automatic rotation or archiving.excelisn't safe under heavy concurrency: each write reads and rewrites the whole file with no locking, so two truly simultaneous accesses could race and one could silently overwrite the other's row. This is an accepted trade-off for a best-effort audit log — not expected to matter for typical single-client usage, but worth knowing if you're logging from multiple concurrent MCP sessions against the same file.
Human-Reviewed Writes (Integration Queue)
Separate from the direct LGL API, LGL also has a custom integration webhook feature (LGL Settings → Integrations → Custom Integrations) that accepts flat key/value submissions and drops them into an Integration Queue for a human to approve before anything is actually written to a constituent's record. This server exposes that path as five tools, distinct from the create_*/update_* API tools:
Tool | Covers |
| Identity/name fields, up to 3 phone numbers, up to 3 emails, up to 2 mailing addresses, a website, constituent category fields, and a relationship |
| Gift, pledge, and goal fields, plus tribute (honor/memorial) details. |
| Notes |
| Event registrations/invitations |
| Appeal requests |
None of these five write to LGL directly — every submission lands in Settings → Integration Queue → Unsaved in LGL, where someone reviews and either saves or rejects it. Because of that, they only need assisted mode rather than full write access: LGL_READ_ONLY=true with LGL_ASSISTED_MODE=true is enough to use them, since they can't change data without a human clicking Save in LGL first. Strictly read-only mode (no LGL_ASSISTED_MODE) still blocks them, since they are real writes to a shared queue.
Setup:
In LGL, go to Settings → Integrations and create (or reuse) a Custom Integration. Copy its listener URL.
Set
LGL_INTEGRATION_LISTENER_URLto that URL in your environment.In that integration's field mapping screen, map the field names your submissions will use to the corresponding LGL fields. The mapping lives entirely in LGL's UI, not in this server — a field that isn't mapped is silently ignored by LGL rather than causing an error, so an unmapped submission may look successful (HTTP 200) while carrying no usable data. Repeating fields (phone/email/address) use LGL's "Record Type / #" grouping: slot 1 is the bare field name, slots 2–3 use a numeric suffix (
phone_2,email_3).This server sends field names in one of two casings, controlled by
LGL_INTEGRATION_FIELD_CASE:"snake"(default — e.g.first_name,phone,gift_amount) or"title"(e.g.First name,Phone number,Gift amount, translated via a lookup table inindex.js). Match this to whichever casing your own mapping screen actually uses — some accounts map on the raw arg names directly, others (re)configure their mapping around LGL's own Title Case field labels. Because there's no LGL account whose mapping is identical out of the box, confirm against your own mapping screen before relying on a given tool either way.
Matching an existing constituent: all five tools accept an optional record_id field carrying the LGL constituent ID. This is the preferred match key, but it only works if the integration's record-matching preference (in that integration's settings, alongside its field mapping) is set to ID-based matching — with the default email/name-based preference, an "LGL constituent ID" field mapping does not persist matches. If record_id is omitted, or your integration is still on email/name-based matching, LGL falls back to matching on first_name + last_name + email.
Schema Value Constraints
Several submit_*_for_review fields represent a fixed, closed set of values defined by LGL itself, so their tool schemas use a real JSON Schema enum rather than a free-text field with a prose description — an AI client is constrained to a valid value instead of guessing: constituent_type, deceased, gives_anonymously (submit_constituent_for_review); payment_interval, gift_is_anonymous, auto_generate_installments, and gift_type (submit_gift_for_review, see Gift Types & Pledge Linkage below); attended, rsvp_status, is_guest (submit_event_registration_for_review); appeal_status (submit_appeal_request_for_review).
By contrast, address_type, phone_type, email_type, web_address_type, contact_type, and relationship_type are genuinely account-customizable value lists in LGL, not fixed platform enums — confirmed live against this account, whose actual values (e.g. contact types of Call/Meeting/Mailing/Proposal/Tour) don't match generic examples. These stay free-text, but their descriptions point at list_type_values (with the matching type key: street_address_types, phone_number_types, email_address_types, web_address_types, contact_report_types) or list_relationship_types to discover the real values for your account before submitting.
Pagination & Truncation Signals
Several tools that list or search an unbounded set of records now signal when a result might be incomplete instead of silently returning a partial page as if it were everything:
Account-wide lists —
list_campaigns,list_funds,list_events,list_appeals,list_groups,list_categories— walk the full dataset (up to a 5,000-record cap) instead of a single hardcodedlimit=200call. The response is a plain array as before, unless the cap was hit, in which case it becomes{ count, <items>, truncated: true }so an incomplete result is never mistaken for a complete one. The same underlying fix applies to internal name-based lookups (resolving a group, custom attribute, list, membership level, or keyword by name) that used to falsely report "does not exist" for a real value past the old 200-record cap.search_contact_reports,search_volunteer_times, and the unscoped (noconstituent_id) mode oflist_notes/list_contact_reports/list_volunteer_times— accept alimitparam and flag it when a page comes back exactly full (a heuristic, not a guarantee, since the true count could coincidentally match the limit): the response becomes{ count, results, note }prompting you to raiselimitor narrow the query.
Separately: search_contact_reports and search_volunteer_times previously 400'd on every call regardless of query — a pre-existing bug unrelated to the above, discovered while testing it. Same root cause as the /constituents/search quirk already covered below: LGL rejects a bare q=value and requires q[]=field=value. Fixed using that format (fields text/description, matching what create_contact_report/create_volunteer_time already write) — confirmed live for contact reports; volunteer time search no longer errors, though this account has no volunteer time records to fully confirm the field name against.
Gift Types & Pledge Linkage
In LGL, pledges, matching gifts, and installment payments are not separate object types — they're all Gift records distinguished by a gift_type_name/gift_category_name pair, with payments linked back to what they pay against via parent_gift_id. Left as raw API output, this is easy to misread (an installment payment looks like an unrelated small gift unless you know it has a parent_gift_id pointing at a pledge). This server surfaces that distinction explicitly:
list_gifts,get_gift,get_donor_context, andexport_constituent_profileall include atypefield (fromgift_type_name), plusgift_category_nameandparent_gift_idwhen LGL provides them.get_giftalso hoiststypeto the top of the response instead of leaving it buried among dozens of fields.LGL's nested
/constituents/{id}/giftslist endpoint omits these fields for some records; when that happens, these tools backfill them with a per-record follow-up call (capped at 50 records per request).submit_gift_for_review'sgift_typefield is constrained to LGL's actual gift types:Gift,In Kind,Pledge,Other Income,In Honor of,In Memory of,Soft Credit,Matching,Installment(fromlist_gift_types). An installment's payments should reference the pledge's gift ID so LGL links them together correctly.record_gift/update_gift(the direct-write API tools, distinct from the Integration Queue path above) also acceptgift_type(same enum) andparent_gift_id. Previously these had nogift_typefield at all, so every gift written through them silently became a plainGift— there was no way to record a Pledge or link an Installment payment back to it, which would have reintroduced the double-counting problem above from the write side.Pledge double-counting: a Pledge record carries the full ask amount, and its Installment payments carry their own amounts on top — summing both counts the same money twice.
recent_donors,top_donors, andlapsed_donorsexcludePledgeandSoft Creditrecords from their giving totals for this reason (verified live: a $500,000 pledge plus its five $100,000 installments would otherwise inflate a donor's reported total toward $1,000,000+).list_gifts/get_gift/get_donor_context/export_constituent_profilestill return Pledge records themselves — the exclusion is scoped to the three aggregate reporting tools.
API Gaps & Workarounds
Some things LGL's own web UI supports have no equivalent anywhere in LGL's API — not the REST API, and not the Integration Queue webhook (which only accepts constituent/gift/note/event-registration/appeal-request fields). Confirmed absent as of this writing:
UI Feature | API endpoint? | Webhook field mapping? | This server's approach |
Tasks / to-dos / reminders assigned to team members | No | No | None. There's no way to reach LGL's Tasks feature (including its reminder emails) programmatically — an actual feature request to LGL Support is the only path forward. |
File/document attachments on a constituent record | No | No |
|
Saved Lists (dynamic, re-runnable queries) | No (read-only at best) | No |
|
Installment due/scheduled dates on a Pledge | No | No | Confirmed against live records: an unpaid Installment gift has no |
Transport Selection
This server supports two communication transport standards:
Stdio Transport (Default): The standard input/output process channel. Ideal for local programs like Claude Desktop or local command configurations.
Streamable HTTP Transport (SSE): Runs a native HTTP server providing modern, stateful Server-Sent Events (SSE) over HTTP. Required for GitHub Copilot, Cursor's SSE mode, cloud containers, and systems that don't natively execute local Node.js processes.
Running in Streamable HTTP Mode
To launch the server in Streamable HTTP mode, use the --http (or --sse) flag:
node index.js --http --port 3000Port Selection: Custom ports can be specified using
--port <number>or thePORTenvironment variable (defaults to3000).Secure Token Protection: If you set
LGL_MCP_TOKENin your.envfile, Bearer Token Authentication is strictly enforced. All client requests must include the headerAuthorization: Bearer <your_token>, or they will be rejected with401 Unauthorized. If you don't set it, the server starts anyway with no authentication at all — it logs a hard-to-miss warning on startup, but accepts requests from anyone who can reach the port. Only run without a token if it's bound to localhost or otherwise unreachable from outside the machine.
Integrating with AI Clients
This server can be integrated into any AI client, editor, or chat interface that supports the Model Context Protocol (MCP).
1. Claude Desktop
To utilize this server in the official Claude Desktop application, add the configuration to your claude_desktop_config.json file.
File Location:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Configuration:
{
"mcpServers": {
"lgl-crm": {
"command": "node",
"args": ["C:\\path\\to\\your\\workspace\\folder\\index.js"],
"env": {
"LGL_API_KEY": "your_lgl_api_key_here"
}
}
}
}2. Cursor IDE (AI Code Editor)
Cursor supports custom MCP servers directly in its graphical user interface. You can connect using either Stdio (command) or Streamable HTTP (SSE):
Option A: Local Stdio (Command)
Open Cursor and navigate to Settings > Features > MCP.
Click + Add New MCP Server.
Configure the fields in the popup:
Name:
lgl-crmType:
commandCommand:
node C:\path\to\your\workspace\folder\index.js
Click Save. Note: You must ensure that the
LGL_API_KEYis set in your operating system environment variables or shell configuration so Cursor can inherit it.
Option B: Streamable HTTP (SSE Mode)
Start the LGL MCP server in HTTP mode:
node index.js --http --port 3000Navigate to Settings > Features > MCP.
Click + Add New MCP Server.
Configure the fields in the popup:
Name:
lgl-crm-sseType:
sseURL:
http://localhost:3000/mcp
Click Save. Note: If
LGL_MCP_TOKENis enabled, ensure your editor includes the Bearer authorization header or connection config.
3. Windsurf IDE (AI Code Editor)
Windsurf supports native MCP configurations via its global config file.
File Location:
Windows:
%USERPROFILE%\.codeium\windsurf\mcp_config.jsonmacOS/Linux:
~/.codeium/windsurf/mcp_config.json
Configuration:
{
"mcpServers": {
"lgl-crm": {
"command": "node",
"args": ["C:\\path\\to\\your\\workspace\\folder\\index.js"],
"env": {
"LGL_API_KEY": "your_lgl_api_key_here"
}
}
}
}4. LibreChat (Open-Source Chat UI)
LibreChat allows you to integrate MCP servers directly through its centralized config file librechat.yaml.
Configuration in librechat.yaml:
mcpServers:
lgl-crm:
type: "stdio"
command: "node"
args: ["C:\\path\\to\\your\\workspace\\folder\\index.js"]
env:
LGL_API_KEY: "your_lgl_api_key_here"5. Open WebUI (Local/Self-Hosted AI UI)
To add this to Open WebUI (commonly used with local Ollama instances):
Navigate to Admin Settings > Connections > MCP.
Click Add Connection.
Name the connection
lgl-crm.Enter the command configuration:
Command:
node C:\path\to\your\workspace\folder\index.js
Click Submit. (Make sure the environment variable
LGL_API_KEYis loaded on your host machine or docker run statement running the Open WebUI instance).
Security & Data Privacy
Unlike other MCP integrations that route sensitive donor information through third-party services (like Zapier or Make), this server operates on a direct local pipeline:
Zero Third-Party Storage: All constituent data, physical addresses, emails, phone numbers, and financial donations are sent directly from your computer to the official LGL API over secure, encrypted HTTPS.
Principle of Least Privilege: You can easily restrict access to database modifications (e.g. deleting records) by commenting out or removing the corresponding tools in the
index.jsfile before deployment.
License
This project is open-source and free to adapt for non-profit organizations under the MIT License.
Available Tools
148 toolsadd_constituent_to_groupA
Add a constituent to a group (creates a group membership)
Inputs: group_id (required), constituent_id (required).
add_keyword_to_constituentB
Assign a keyword (attribute/tag) to a constituent
Inputs: keyword_id (required), constituent_id (required).
call_lgl_apiADestructive
Raw passthrough to the LGL REST API for endpoints not covered by a typed tool. PREFER the typed tools whenever they cover your use case — they validate inputs, normalize field names, and return summarized payloads. Reach for this only when no typed tool fits; do not use it as a retry path when a typed tool fails.
Inputs: path (required), method (required), body.
constituents_missing_infoCRead-only
Find constituents missing key contact information
Inputs: missing (required), limit.
constituents_never_touched_attributeARead-only
Find constituents that have NEVER had a given custom attribute touched — distinct from search_constituents_advanced's 'blank' operator, which only matches constituents that have a row for the attribute whose value happens to be empty. LGL's blank/not_blank operators both confirmed live to return zero matches for constituents that have no row for the attribute at all, so 'never touched' requires diffing the full constituent set against the union of blank+not_blank matches — there is no single LGL query for it. Paginates through both sets server-side (LGL's own filters compute the blank/not_blank sets; this only diffs the resulting ID sets, since LGL has no 'attribute row does not exist' query token).
Inputs: name (required), limit.
create_addressC
Add a street address to a constituent
Inputs: street (required), constituent_id (required), zip, city, +4 more.
create_appealC
Create a new appeal
Inputs: name (required), description.
create_appeal_requestC
Create a new appeal request, either linked to an appeal or constituent
Inputs: appeal_id (required), constituent_id (required), ask_amount, segment_name.
create_campaignC
Create a new fundraising campaign
Inputs: name (required), description.
create_categoryB
Create a new custom category
Inputs: name (required).
create_class_affiliationC
Add a class affiliation to a constituent
Inputs: constituent_id (required), class_affiliation_type_id (required), class_year.
create_constituentC
Create a new constituent in LGL
Inputs: zip, city, email, phone, +6 more.
create_constituent_invitationC
Add a constituent to an event (creates an invitation record)
Inputs: event_id (required), constituent_id (required), invitation_status.
create_contact_reportB
Create a new contact report nested under a constituent
Inputs: text (required), constituent_id (required), subject, contact_date, +1 more.
create_email_addressC
Add an email address to a constituent
Inputs: address (required), constituent_id (required), email_type, is_primary.
create_eventC
Create a new event
Inputs: name (required), event_date, description.
create_event_invitationC
Add a constituent invitation directly inside an event
Inputs: event_id (required), constituent_id (required), invitation_status.
create_fundC
Create a new fund
Inputs: name (required), description.
create_groupC
Create a new constituent group
Inputs: name (required).
create_group_with_membersA
Creates a new LGL group and adds one or more constituents to it in a single call. This is the closest API-native substitute for LGL's UI-only saved/dynamic Lists — LGL's API has no endpoint to create or edit a List at all. Unlike a List, a group is a static set of members (not a live, re-run query); add or remove members afterward with add_constituent_to_group / remove_constituent_from_group. Partial failures (e.g. one bad constituent_id) don't fail the whole call — check each entry's result.
Inputs: group_name (required), constituent_ids (required).
create_keywordC
Create a new keyword nested under a category
Inputs: name (required), category_id (required).
create_membershipC
Add a membership record to a constituent
Inputs: constituent_id (required), membership_level_id (required), end_date, start_date.
create_membership_levelC
Create a new membership level
Inputs: name (required).
create_noteA
Log a new note nested under a specific constituent
Inputs: text (required), constituent_id (required), subject, note_date, +1 more.
create_phone_numberB
Add a phone number to a constituent
Inputs: number (required), constituent_id (required), is_primary, phone_type.
create_relationshipB
Create a relationship between two constituents (nested under the parent constituent)
Inputs: constituent_id (required), relationship_type (required), related_constituent_id (required).
create_volunteer_timeB
Record volunteer hours nested under a constituent
Inputs: hours (required), constituent_id (required), description, volunteer_date.
create_web_addressC
Add a web address to a constituent
Inputs: url (required), constituent_id (required), web_address_type.
delete_addressADestructiveIdempotent
Delete a street address record by Address ID
Inputs: id (required).
delete_appealBDestructiveIdempotent
Delete an appeal by ID
Inputs: id (required).
delete_appeal_requestADestructiveIdempotent
Delete an appeal request by ID
Inputs: id (required).
delete_campaignBDestructiveIdempotent
Delete a campaign by ID
Inputs: id (required).
delete_categoryBDestructiveIdempotent
Delete a custom category by ID
Inputs: id (required).
delete_class_affiliationADestructiveIdempotent
Delete a class affiliation record by ID
Inputs: id (required).
delete_constituentBDestructiveIdempotent
Delete an existing constituent by ID
Inputs: id (required).
delete_contact_reportBDestructiveIdempotent
Delete a contact report by ID
Inputs: id (required).
delete_email_addressBDestructiveIdempotent
Delete an email address record by Email ID
Inputs: id (required).
delete_eventADestructiveIdempotent
Delete an event by ID
Inputs: id (required).
delete_fundBDestructiveIdempotent
Delete a fund by ID
Inputs: id (required).
delete_giftBDestructiveIdempotent
Delete a specific gift record by Gift ID
Inputs: id (required).
delete_groupBDestructiveIdempotent
Delete a constituent group
Inputs: id (required).
delete_invitationBDestructiveIdempotent
Delete an event invitation record by ID
Inputs: id (required).
delete_keywordBDestructiveIdempotent
Delete a keyword record by ID
Inputs: id (required).
delete_membershipADestructiveIdempotent
Delete a membership record by ID
Inputs: id (required).
delete_membership_levelBDestructiveIdempotent
Delete membership level by ID
Inputs: id (required).
delete_noteADestructiveIdempotent
Delete a note record by Note ID
Inputs: id (required).
delete_phone_numberADestructiveIdempotent
Delete a phone number record by Phone ID
Inputs: id (required).
delete_relationshipADestructiveIdempotent
Delete a constituent relationship by Relationship ID
Inputs: id (required).
delete_volunteer_timeBDestructiveIdempotent
Delete a volunteer time record by ID
Inputs: id (required).
delete_web_addressADestructiveIdempotent
Delete a web address record by Web Address ID
Inputs: id (required).
export_constituent_profileARead-only
Comprehensive one-shot export of everything LGL has on a constituent, mirroring LGL's own 'Export Profile' button: full record (contact info embedded), full gift history, relationships, class/school affiliations, memberships, volunteer time, contact reports, appeal requests, event invitations, group memberships, and notes — fetched in parallel in a single call. Slower and heavier than get_donor_context; prefer that for a quick 'tell me about ' lookup and use this when you actually need everything. Accepts either constituent_id (preferred) or name (resolved via search; errors with candidates if multiple match). Writes an 'AI Access Log' note directly to the constituent's record — this happens automatically in full and assisted (LGL_ASSISTED_MODE=true) modes, and is silently skipped under strict LGL_READ_ONLY.
Inputs: name, gift_limit, note_limit, constituent_id.
get_appealARead-only
Get appeal details by ID
Inputs: id (required).
get_appeal_requestARead-only
Get details for an appeal request by ID
Inputs: id (required).
get_campaignBRead-only
Get fundraising campaign details by ID
Inputs: id (required).
get_categoryBRead-only
Get custom category details by ID
Inputs: id (required).
get_class_affiliationBRead-only
Get class affiliation details by ID
Inputs: id (required).
get_constituentBRead-only
Get full details for a single constituent by ID. Writes an 'AI Access Log' note directly to that constituent's record noting when and by which tool it was accessed — this happens automatically in full and assisted (LGL_ASSISTED_MODE=true) modes, and is silently skipped under strict LGL_READ_ONLY.
Inputs: id (required).
get_contact_reportARead-only
Get full details of a contact report by ID
Inputs: id (required).
get_donor_contextARead-only
One-shot lookup that returns a constituent's profile plus their recent giving history, group memberships, and recent notes. Saves 4-5 round trips compared to calling get_constituent + list_gifts + list_group_memberships + list_notes separately for the common 'tell me about ' workflow. Accepts either constituent_id (preferred) or name (resolved via search; errors with candidates if multiple constituents match). Writes an 'AI Access Log' note directly to that constituent's record noting when and by which tool it was accessed — this happens automatically in full and assisted (LGL_ASSISTED_MODE=true) modes, and is silently skipped under strict LGL_READ_ONLY.
Inputs: name, gift_limit, note_limit, constituent_id.
get_eventARead-only
Get fundraising event details by ID
Inputs: id (required).
get_fundARead-only
Get fund details by ID
Inputs: id (required).
get_giftARead-only
Get full details for a specific gift record by ID
Inputs: id (required).
get_groupBRead-only
Get details for a single group by ID
Inputs: id (required).
get_group_membershipBRead-only
Get details for a group membership record by ID
Inputs: id (required).
get_invitationBRead-only
Get event invitation details by ID
Inputs: id (required).
get_keywordARead-only
Get keyword details by ID
Inputs: id (required).
get_membershipBRead-only
Get membership record details by ID
Inputs: id (required).
get_membership_levelBRead-only
Get membership level details by ID
Inputs: id (required).
get_metadataBRead-only
Retrieve LGL account metadata
Inputs: no named parameters.
get_noteARead-only
Get full details of a note by ID
Inputs: id (required).
get_relationshipARead-only
Get details for a constituent relationship by Relationship ID
Inputs: id (required).
get_volunteer_timeARead-only
Get volunteer time record details by ID
Inputs: id (required).
lapsed_donorsARead-only
Find donors who gave previously but not in the last N months
Inputs: months_lapsed.
list_account_typesBRead-only
List types for an account
Inputs: no named parameters.
list_addressesARead-only
List street addresses for a specific constituent
Inputs: constituent_id (required).
list_appeal_requestsBRead-only
Fetch appeal requests, either for a specific appeal or for a specific constituent
Inputs: appeal_id, constituent_id.
list_appealsARead-only
List all appeals
Inputs: no named parameters.
list_campaignsBRead-only
List all campaigns
Inputs: no named parameters.
list_categoriesARead-only
List all category types defined in LGL
Inputs: no named parameters.
list_class_affiliationsCRead-only
List class affiliations for a constituent
Inputs: constituent_id (required).
list_class_affiliation_typesARead-only
List all available class affiliation types
Inputs: no named parameters.
list_constituent_categoriesARead-only
List categories assigned to a constituent
Inputs: constituent_id (required).
list_constituent_invitationsCRead-only
List event invitations for a specific constituent
Inputs: constituent_id (required).
list_constituentsCRead-only
List all constituents with optional pagination
Inputs: limit, offset.
list_contact_reportsBRead-only
List contact reports, optionally filtered by constituent, or fetch all
Inputs: limit, constituent_id.
list_custom_attributesARead-only
List custom attributes defined in LGL
Inputs: no named parameters.
list_email_addressesBRead-only
List email addresses for a specific constituent
Inputs: constituent_id (required).
list_event_invitationsBRead-only
List invitations for a specific event
Inputs: event_id (required).
list_eventsBRead-only
List all fundraising events
Inputs: no named parameters.
list_fundsBRead-only
List all funds
Inputs: no named parameters.
list_gift_categoriesBRead-only
List gift categories
Inputs: no named parameters.
list_giftsARead-only
List gifts, either for a specific constituent (nested) or across the account (search). Supports date-range filtering via start_date/end_date (YYYY-MM-DD).
Inputs: limit, query, end_date, start_date, +1 more.
list_gift_typesBRead-only
List all gift types
Inputs: no named parameters.
list_group_membershipsCRead-only
List group memberships for a specific constituent
Inputs: constituent_id (required).
list_groupsARead-only
List all constituent groups defined in LGL
Inputs: no named parameters.
list_keywordsARead-only
List keywords nested under a specific category
Inputs: category_id (required).
list_listsARead-only
List all default lists configured in LGL
Inputs: no named parameters.
list_mailing_templatesARead-only
List all mailing templates
Inputs: no named parameters.
list_membership_levelsARead-only
List all membership levels defined in LGL
Inputs: no named parameters.
list_membershipsARead-only
List membership program enrollments for a specific constituent
Inputs: constituent_id (required).
list_notesBRead-only
List notes, optionally filtered by constituent, or fetch all notes
Inputs: limit, constituent_id.
list_payment_typesBRead-only
List all payment types
Inputs: no named parameters.
list_phone_numbersCRead-only
List phone numbers for a specific constituent
Inputs: constituent_id (required).
list_relationshipsBRead-only
List constituent relationships for a specific constituent
Inputs: constituent_id (required).
list_relationship_typesBRead-only
List all relationship types
Inputs: no named parameters.
list_team_membersARead-only
List LGL team members / account users
Inputs: no named parameters.
list_type_valuesCRead-only
List values for a specific type
Inputs: type (required).
list_volunteer_timesBRead-only
List volunteer times, optionally filtered by constituent, or fetch all
Inputs: limit, constituent_id.
list_web_addressesBRead-only
List web addresses (websites/social profiles) for a specific constituent
Inputs: constituent_id (required).
log_document_linkA
NOT a real file attachment — LGL's API has no upload endpoint at all (even LGL's own web forms only accept a hosted URL, never raw file bytes). This logs a note on the constituent's record containing a link to a file hosted elsewhere (e.g. OneDrive, SharePoint, Google Drive) plus a short description, so the document is at least referenced and findable via list_notes/search_constituents. The linked file itself is not verified, downloaded, or stored by this server.
Inputs: url (required), description (required), constituent_id (required), note_date.
recent_donorsARead-only
Get donors who gave within the last N days (defaults to 30)
Inputs: days.
record_giftB
Record a new gift nested under a specific constituent
Inputs: amount (required), gift_date (required), constituent_id (required), note, +5 more.
remove_constituent_from_groupADestructiveIdempotent
Remove a constituent from a group (deletes the group membership record by ID)
Inputs: id (required).
remove_keyword_from_constituentBDestructiveIdempotent
Remove keyword assignment from a constituent
Inputs: id (required), constituent_id (required).
search_constituentsARead-only
Search for constituents by name, email, phone, or other keyword
Inputs: query (required), limit.
search_constituents_advancedARead-only
Server-side constituent search combining custom attribute filters (including blank/not-blank checks) with standard LGL filters (keyword, location, membership, groups, lists, updated date) and an optional free-text query. All provided filters AND together, matching LGL's actual q[] behavior — there is no OR support. Custom attributes, keywords, groups, lists, and membership levels are all referenced by their display name (not internal LGL IDs); names are resolved and cached for the life of this server process, so only the first call referencing a given name pays a lookup round-trip. Filtering ON a custom attribute (via custom_attributes) works independently of whether its VALUE comes back in results — set include_custom_attrs to also fetch attribute values, which is otherwise omitted to keep responses small.
Inputs: city, limit, query, state, +16 more.
search_contact_reportsCRead-only
Search across contact reports
Inputs: query (required).
search_listsCRead-only
Search lists
Inputs: query (required).
search_volunteer_timesCRead-only
Search for volunteer times
Inputs: query (required).
submit_appeal_request_for_reviewA
Submit an appeal request/status to LGL's Integration Queue for human review. Provide first_name/last_name/email to match the constituent this belongs to. This does NOT write to LGL directly.
Inputs: appeal_name (required), email, last_name, first_name, +5 more.
submit_constituent_for_reviewA
Submit a new or updated constituent to LGL's Integration Queue for human review: identity/name fields, up to 3 phone numbers, up to 3 emails, up to 2 mailing addresses, a website, constituent category fields, and a relationship. This does NOT write to LGL directly.
Inputs: emails, groups, phones, prefix, +38 more.
submit_event_registration_for_reviewA
Submit an event registration/invitation to LGL's Integration Queue for human review. Provide first_name/last_name/email to match the constituent this belongs to. This does NOT write to LGL directly.
Inputs: event_name (required), email, attended, is_guest, +10 more.
submit_gift_for_reviewA
Submit a gift, pledge, or goal to LGL's Integration Queue for human review, including tribute (honor/memorial) details. Provide first_name/last_name/email to match the constituent this belongs to. This does NOT write to LGL directly.
Inputs: email, fund_name, gift_date, gift_note, +40 more.
submit_note_for_reviewA
Submit a note to LGL's Integration Queue for human review. Provide first_name/last_name/email to match the constituent this belongs to. This does NOT write to LGL directly.
Inputs: note_text (required), email, last_name, note_date, +2 more.
top_donorsBRead-only
Get top donors ranked by total giving, optionally within a date range
Inputs: limit, end_date, start_date.
update_addressBIdempotent
Update an existing street address record by Address ID
Inputs: id (required), zip, city, state, +4 more.
update_appealCIdempotent
Update appeal details
Inputs: id (required), name.
update_appeal_requestCIdempotent
Update an appeal request details
Inputs: id (required), ask_amount, segment_name.
update_campaignCIdempotent
Update an existing campaign details
Inputs: id (required), name, description.
update_categoryBIdempotent
Update custom category name by ID
Inputs: id (required), name.
update_class_affiliationCIdempotent
Update a class affiliation record
Inputs: id (required), class_year.
update_constituentBIdempotent
Update an existing constituent's core information
Inputs: id (required), last_name, first_name, constituent_type, +1 more.
update_contact_reportCIdempotent
Update an existing contact report by ID
Inputs: id (required), text, subject, contact_date, +1 more.
update_email_addressAIdempotent
Update an existing email address record by Email ID
Inputs: id (required), address, email_type, is_primary.
update_eventCIdempotent
Update event details
Inputs: id (required), name, event_date.
update_fundCIdempotent
Update fund details
Inputs: id (required), name, description.
update_giftAIdempotent
Update an existing gift record by Gift ID
Inputs: id (required), note, amount, fund_name, +3 more.
update_groupBIdempotent
Update constituent group details
Inputs: id (required), name.
update_group_membershipCIdempotent
Update a group membership record
Inputs: id (required), group_id.
update_invitationCIdempotent
Update an event invitation record by ID
Inputs: id (required), invitation_status.
update_keywordAIdempotent
Update a keyword record by ID
Inputs: id (required), name.
update_membershipCIdempotent
Update a membership record by ID
Inputs: id (required), end_date, start_date, membership_level_id.
update_membership_levelCIdempotent
Update membership level details
Inputs: id (required), name.
update_noteBIdempotent
Update an existing note record by Note ID
Inputs: id (required), text, subject, note_date, +1 more.
update_phone_numberCIdempotent
Update an existing phone number record by Phone ID
Inputs: id (required), number, is_primary, phone_type.
update_relationshipAIdempotent
Update relationship type between two constituents by Relationship ID
Inputs: id (required), relationship_type.
update_volunteer_timeCIdempotent
Update an existing volunteer hours record
Inputs: id (required), hours, description, volunteer_date.
update_web_addressCIdempotent
Update an existing web address record by Web Address ID
Inputs: id (required), url, web_address_type.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 148 tools
The overwhelming majority of tools use a clear entity+action pattern, so a CRUD tool for gifts, appeals, notes, etc. is easy to distinguish. The main friction points are the two invitation-creation tools (create_constituent_invitation vs create_event_invitation) and the cluster of constituent search/donor-lookup/report tools that overlap in audience even if their descriptions are careful.
Most tools consistently follow verb_noun snake_case (list_, get_, create_, update_, delete_, search_). Deviations such as record_gift, recent_donors/lapsed_donors/top_donors, add_constituent_to_group, and constituents_missing_info break the pattern but remain understandable.
At 148 tools this is an extreme surface for an MCP server, far beyond the 25+ threshold, and will create significant context overhead and selection difficulty. The broad entity coverage explains some of the size, but the toolset would be more usable split across focused servers or substantially consolidated.
The server covers full CRUD/lifecycle workflows for constituents, contact methods, gifts, campaigns, funds, events, appeals, notes, relationships, groups, memberships, volunteer time, class affiliations, and invitations, plus specialized donor analytics and review-queue submissions. The raw call_lgl_api passthrough also closes any remaining endpoint gaps, so there are no obvious dead ends.
Related MCP Connectors
Connect QuickBooks, Xero, Bill.com, Blackbaud and Stripe to ChatGPT, Claude, Grok and any AI app.
Connect AI assistants to Nimble CRM to access and work with customer relationship data.
Connect ChatGPT or Claude to your CRM, store or shipping API. Keys stay out of the chat.
Connect AI assistants to Plain customer support data and workflows.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access and manage CiviCRM data, including contacts, activities, contributions, events, and memberships, with full custom field support.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to query business databases directly via natural language, with enforced read-only access and secure query limits. Supports SQLite and PostgreSQL, and works with any OpenAI-compatible model.0ISC
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to directly query and manage Autotask PSA data through natural language, including ticket triage, time entry creation, company lookups, project management, billing review, and more.Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to read and, where permitted, write data in ChurchTools, schedule recurring tasks like weekly service rosters, and review or revert changes for security and transparency.2-