lexicon-mcp
Enables querying and updating a Lexicon DJ library via its Local API, supporting read tools always on and write tools when enabled.
README
lexicon-mcp
TypeScript MCP server for the Lexicon DJ Local API — query and update your library from Cursor, Claude Desktop, 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
npx lexicon-mcp
After npm link from a clone:
{
"mcpServers": {
"lexicon": {
"command": "lexicon-mcp"
}
}
}
Local development:
{
"mcpServers": {
"lexicon": {
"command": "node",
"args": ["/absolute/path/to/lexicon-mcp/dist/bin/cli.js"]
}
}
}
Run npm run build after pulling changes. Restart Cursor to reload MCP tools.
lexicon-mcp --help and lexicon-mcp -v work in a terminal; the bare command exits with a note (MCP uses stdio pipes).
Environment
| Variable | Default | Purpose |
|---|---|---|
LEXICON_HOST |
localhost |
API host |
LEXICON_PORT |
48624 |
API port |
LEXICON_URL |
— | Full base URL override |
LEXICON_MCP_ALLOW_WRITES |
off | Set to 1 to enable PATCH/POST/DELETE |
Tools
Read (always on)
| Tool | API |
|---|---|
lexicon_ping |
health + track count |
lexicon_list_tags |
GET /v1/tags |
lexicon_list_tracks |
GET /v1/tracks |
lexicon_get_track |
GET /v1/track |
lexicon_search_tracks |
GET /v1/search/tracks |
lexicon_list_incoming |
filtered incoming backlog |
lexicon_library_stats |
composed stats |
lexicon_list_playlists |
GET /v1/playlists |
lexicon_get_playlist |
GET /v1/playlist or /v1/playlist-by-path |
lexicon_get_playing |
GET /v1/playing |
lexicon_get_queue |
GET /v1/queue |
Write (requires LEXICON_MCP_ALLOW_WRITES=1)
| Tool | API |
|---|---|
lexicon_update_track |
PATCH /v1/track |
lexicon_control |
POST /v1/control |
lexicon_request |
any /v1/* method |
Escape hatch
| Tool | Notes |
|---|---|
lexicon_request |
Full API — prefer this over deprecated lexicon_raw_request |
lexicon_raw_request |
GET only (deprecated) |
Search filter examples
{ "tags": "irh" }
{ "tags": "!house" }
{ "tags": "~house, handbag" }
{ "artist": "Lady Gaga" }
{ "location": "*DJ-incoming*" }
Control examples (writes enabled)
{ "action": "Incoming_SelectedDone" }
{ "action": "Application_Tags_AddShortcut", "parameters": { "amount": 1 } }
Development
npm install
npm run build
npm test
npm link # optional global bin
Publish
npm login
npm publish --access public
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.