lexicon-mcp
Click on "Install 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., "@lexicon-mcplist my playlists"
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.
lexicon-mcp
TypeScript MCP server for the Lexicon DJ Local API — query and update your library from Cursor, Claude, VS Code, Windsurf, Cline, or any MCP client.
API docs: developers/api
OpenAPI: api-docs.yaml
Requires Lexicon running with Settings → Integrations → Local API enabled (default http://localhost:48624).
Install
No package install required — npx -y downloads and runs the server on demand.
Add this server entry to your MCP client (see below for where each client stores its config):
"lexicon": {
"command": "npx",
"args": ["-y", "lexicon-mcp"]
}Restart the client after editing (or reload MCP servers where supported). lexicon-mcp --help and lexicon-mcp -v work in a terminal; the bare command exits with a note (MCP uses stdio pipes).
Cursor
Config: ~/.cursor/mcp.json (global) or .cursor/mcp.json (project)
{
"mcpServers": {
"lexicon": {
"command": "npx",
"args": ["-y", "lexicon-mcp"]
}
}
}Claude Desktop
Config: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), %APPDATA%\Claude\claude_desktop_config.json (Windows), or ~/.config/Claude/claude_desktop_config.json (Linux)
Same mcpServers format as Cursor. Fully quit and reopen Claude Desktop after saving.
Claude Code
CLI (project scope, writes to .mcp.json):
claude mcp add lexicon -- npx -y lexicon-mcpCLI with environment variables:
claude mcp add -e LEXICON_MCP_ALLOW_WRITES=1 lexicon -- npx -y lexicon-mcpUse -s user for a global server across all projects. Config files: .mcp.json (project) or ~/.claude.json (user).
VS Code / GitHub Copilot
Config: .vscode/mcp.json (workspace) or user-profile mcp.json (run MCP: Open User Configuration)
VS Code uses a servers key and a type field:
{
"servers": {
"lexicon": {
"type": "stdio",
"command": "npx",
"args": ["-y", "lexicon-mcp"]
}
}
}Windsurf
Config: ~/.codeium/windsurf/mcp_config.json (macOS/Linux) or %USERPROFILE%\.codeium\windsurf\mcp_config.json (Windows)
Same mcpServers format as Cursor. Restart Windsurf after saving.
Cline
Config: Cline sidebar → MCP Servers → Configure, or ~/.cline/mcp.json (CLI). In VS Code/Cursor extensions, settings are stored under the extension's global storage as cline_mcp_settings.json.
Same mcpServers format as Cursor.
Environment
Variable | Default | Purpose |
|
| API host |
|
| API port |
| — | Full base URL override |
| off | Set to |
Add an env block to the server entry (or pass -e KEY=value with claude mcp add):
Remote Lexicon — API on another host:
"env": {
"LEXICON_HOST": "192.168.1.50",
"LEXICON_PORT": "48624"
}Custom URL — override host/port with a full base URL:
"env": {
"LEXICON_URL": "http://studio.local:48624"
}Writes enabled — allow track updates, playback control, and other mutating API calls:
"env": {
"LEXICON_MCP_ALLOW_WRITES": "1"
}Example with environment options in Cursor:
{
"mcpServers": {
"lexicon": {
"command": "npx",
"args": ["-y", "lexicon-mcp"],
"env": {
"LEXICON_MCP_ALLOW_WRITES": "1"
}
}
}
}Related MCP server: rekordbox-mcp
Tools
Read (always on)
Tool | API |
| health + track count |
| GET |
| GET |
| GET |
| GET |
| filtered incoming backlog |
| composed stats |
| GET |
| GET |
| GET |
| GET |
Write (requires LEXICON_MCP_ALLOW_WRITES=1)
Tool | API |
| PATCH |
| POST |
| any |
Escape hatch
Tool | Notes |
| Full API — prefer this over deprecated |
| GET only (deprecated) |
Development
npm install
npm run build
npm test
npm link # optional global binThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Turbotailz/lexicon-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server