mcp-acronym-lookup
This project is a lightweight MCP server that processes a CSV file of acronyms and initialisms, providing a tool to resolve and define these abbreviations. It is highly configurable, supporting SSE mode for different server environments.
mcp-acronym-lookup
A lightweight, configuration-driven MCP server that ingests a CSV of acronyms and initialisms to provide a lookup tool for their meanings and descriptions.
Purpose
mcp-acronym-lookup
allows you to transform a three-column CSV file of abbreviations into an MCP server to resolve acronyms, returning matching definitions in JSON format.
Configuration
Configured using one environment variable and an optional command-line flag.
Environment Variables
ACRONYM_FILE
: (required) Path to the CSV file containing acronym definitions. Must have three columns:acronym
,full form
, anddescription
.
Command-Line Flags
--sse <addr>
: Run in SSE mode on the specified address (e.g.,:8080
). Default is standard I/O mode.
CSV Format
CSV should be UTF-8 encoded with an optional header row. Example:
acronym,full form,description LOL,Laugh Out Loud,Used in digital communication to indicate humor.
Run in SSE Mode
Specify the --sse
command line flag to run in SSE mode, providing endpoints such as /mcp/sse
and /mcp/message
.
Limitations
- Supports one CSV file per instance.
- Case-insensitive matching, sanitizes input strings before lookup.
- Returns all definitions if multiple exist for the same key.