Required to run the fountain pen ink MCP server, supporting ink search, color matching, and recommendation features.
Used for installation, building, and running the fountain pen ink MCP server and its dependencies.
Used for type definitions and implementation of the fountain pen ink MCP server's features.
Fountain Pen Ink MCP Server
A Model Context Protocol (MCP) server that provides LLMs with specialized knowledge about fountain pen inks, enabling intelligent ink search, color matching, and recommendations. Read my article about creating this server.
Features
This MCP server provides the following tools for LLMs:
🔍 Search Tools
- search_inks_by_name: Fuzzy search for inks by name or manufacturer
- search_inks_by_color: Find inks similar to any given color using RGB matching
- get_inks_by_maker: List all inks from a specific manufacturer
📊 Information Tools
- get_ink_details: Get comprehensive information about a specific ink
- analyze_color: Analyze any color and find the closest matching inks
🎨 Recommendation Tools
- get_color_palette: Generate sophisticated themed ink palettes with color theory support
- 13 predefined themes (warm, cool, earth, ocean, autumn, spring, summer, winter, pastel, vibrant, monochrome, sunset, forest)
- Color harmony generation (complementary, analogous, triadic, split-complementary)
- Custom hex color palettes
Quick start
Installation
Prerequisites
- Node.js 18 or higher
- npm or yarn
Setup
Usage
Running the Server
MCP Client Configuration
Add this server to your MCP client configuration:
CLI Client (Generic)
A small script is included to exercise any tool from the command line:
Script options:
--list
List available tools--tool <name>
Tool name to call--args '<json>'
Inline JSON arguments--args-file <path>
JSON file with arguments--server <path>
Path to compiled server (default: dist/index.js)--timeout <ms>
Timeout in milliseconds (default: 10000)--output <mode>
Output mode: auto | content | raw (default: auto)
Available Tools
search_inks_by_name
Search for fountain pen inks using fuzzy text matching.
Parameters: query
(string), max_results
(number, optional)
Example input:
Example prompt:
- Find inks matching "sailor blue"; limit to 10 results.
search_inks_by_color
Find inks similar to a given color using RGB color space matching.
Parameters: color
(hex string), max_results
(number, optional)
Example input:
Example prompt:
- Find inks similar to color #2E5984; up to 15 results.
get_ink_details
Get complete information about a specific ink.
Parameters: ink_id
(string)
Example input:
Example prompt:
- Show info for "diamine-oxblood".
get_inks_by_maker
List all inks from a specific manufacturer.
Parameters: maker
(string), max_results
(number, optional)
Example input:
Example prompt:
- List Diamine inks; limit 25.
analyze_color
Analyze a color and provide fountain pen ink context.
Parameters: color
(hex string), max_results
(number, optional)
Example input:
Example prompt:
- Analyze #2E5984 and show the top 7 closest inks.
get_color_palette
Generate a themed or harmony-based palette of fountain pen inks with color theory support.
Parameters: theme
(string), palette_size
(number, optional), harmony
(string, optional)
Supported Themes:
- Classic: warm, cool, earth, ocean, autumn, spring
- Seasonal: summer, winter
- Mood: pastel, vibrant, monochrome
- Atmospheric: sunset, forest
Harmony Rules: complementary, analogous, triadic, split-complementary
Example input:
Example prompt:
- Generate a 4‑ink palette for the "sunset" theme.
For more examples, see examples/USAGE.md
.
Data Sources
The server uses two main data files:
- ink-colors.json: Contains RGB color values and basic ink information
- search.json: Contains metadata including manufacturers, scan dates, and searchable names
All ink data links back to Wilder Writes for detailed information and images.
Development
Project Structure
Scripts
npm run build
: Compile TypeScript to JavaScriptnpm run start
: Run the compiled servernpm run dev
: Build and run in one commandnpm run watch
: Watch for changes and rebuild automaticallynpm run client
: Run the generic CLI clientnpm run tools:list
: List available tools via the CLI client
Testing
Run the comprehensive test suite to validate all functionality:
For manual, ad‑hoc testing, use the CLI client documented above.
The test suite covers:
- ✅ 13 predefined themes + 4 harmony rules
- ✅ Custom color palette generation
- ✅ MCP protocol compliance
- ✅ Error handling and validation
- ✅ Color space conversions (BGR→RGB, RGB↔HSL)
Color Matching Algorithm
The server uses Euclidean distance in RGB color space to find similar inks:
Future improvements may include:
- LAB color space for better perceptual accuracy
- Weighted color components for fountain pen ink characteristics
- Semantic color descriptions
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). See the LICENSE file for details.
Links
- Wilder Writes - Source of ink data and detailed ink information
- Model Context Protocol - MCP documentation and examples
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Provides LLMs with specialized knowledge about fountain pen inks, enabling intelligent ink search, color matching, and recommendations through various tools.
- Features
- Quick start
- Installation
- Usage
- Available Tools
- Data Sources
- Development
- Testing
- Color Matching Algorithm
- Contributing
- License
- Links
Related Resources
Related MCP Servers
- -securityFlicense-qualityEnables LLMs to perform semantic search and document management using ChromaDB, supporting natural language queries with intuitive similarity metrics for retrieval augmented generation applications.Last updated -Python
- AsecurityAlicenseAqualityEnables seamless integration with any LLM client supporting MCP for creating and optimizing technical content and product positioning using Open Strategy Partners' methodologies.Last updated -6215PythonCC BY-SA 4.0
- -securityAlicense-qualityEnables integration with DuckDuckGo search capabilities for LLMs, supporting comprehensive web search, regional filtering, result types, and safe browsing with caching and customizable search parameters.Last updated -173TypeScriptMIT License
- -securityFlicense-qualityEnables LLMs to interact with DataForSEO and other SEO APIs through natural language, allowing for keyword research, SERP analysis, backlink analysis, and local SEO tasks.Last updated -35448TypeScript