- Home
- MCP servers
- SpellChecker
SpellChecker
- typescript
0
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"morahan-spellchecker-mcp": {
"command": "node",
"args": [
"/path/to/spellchecker-mcp-server/dist/index.js"
],
"env": {
"SPELLCHECKER_LANGUAGES": "en-US,es,fr"
}
}
}
}A fast, multilingual MCP server that adds spell-checking capabilities to your language models. It can check text, files, and whole projects with syntax-aware parsing for code, helping you consistently catch misspellings while respecting code structure and documentation.
How to use
You connect this server to an MCP-compatible client to perform spell checks across text, code comments, strings, and documentation. Enable only the languages you need, and run checks against individual files or entire folders. Use the provided tools to check text, verify word correctness, fetch suggestions, and extend your personal dictionaries.
How to install
Prerequisites: Node.js 16 or newer and a preferred package manager.
# Install dependencies
yarn install
# Build for production
yarn build
# Start the server (example)
node dist/index.js
Configuration and usage notes
Enable languages you want to support by configuring the SPELLCHECKER_LANGUAGES environment variable during startup. You can also provide a config file path or edit the default configuration before building.
Example startup with languages enabled via environment variable:
SPELLCHECKER_LANGUAGES="en-US,es,fr" node dist/index.js
Notes on syntax-aware checking
When syntax-aware parsing is enabled, the server checks only human-readable text within comments, strings, and documentation while ignoring identifiers, code keywords, URLs, file paths, and similar non-text content.
Troubleshooting
If you encounter missing dictionaries, run the post-install step or rebuild the dictionaries as needed.
Tools and capabilities overview
You can perform a range of spell-check related actions: check text, verify single words, fetch suggestions, and manage personal dictionaries, as well as list available languages and run file or folder checks with optional syntax-aware parsing.
Available tools
check_spelling
Checks a text string for spelling errors and returns misspellings with suggested corrections.
is_correct
Determines whether a single word is spelled correctly.
get_suggestions
Provides spelling suggestions for a given word.
add_to_dictionary
Adds a word to the personal dictionary for a selected language.
list_languages
Lists all available languages supported by the server.
check_file
Checks spelling within a single file with optional syntax-aware parsing.
check_folder
Checks spelling across all files in a folder, with optional recursion and file type filtering.