mcpField
L
lightning-fm-mcp

lightning-fm-mcp

Local
github.com/Lightning-FMGames & Entertainment

About lightning-fm-mcp

Search Lightning FM's Nostr music catalog, look up artists, and check what's live now

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"fm-lightning-lightning-fm": {
"command": "npx",
"args": [
"-y",
"lightning-fm-mcp"
],
"env": {
"LFM_NOSTR_RELAYS": "<LFM_NOSTR_RELAYS>",
"LFM_BLOSSOM_URL": "<LFM_BLOSSOM_URL>",
"LFM_CACHE_TTL_MS": "<LFM_CACHE_TTL_MS>"
}
}
}
}
Run commandnpx -y lightning-fm-mcp
Environment variables to set
LFM_NOSTR_RELAYSComma-separated relay URLs to query. Only add a relay here if it gates writes the way relay.lightning.fm does (allowlisted artists only) — an unrestricted public relay hands back every other app's kind-31337 events too, not just Lightning FM's.
LFM_BLOSSOM_URLBlossom server audio/image hashes resolve against.
LFM_CACHE_TTL_MSHow long a fetched catalog/profile/now-playing snapshot is reused, in milliseconds, before the next tool call re-queries the relays.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmlightning-fm-mcp0.1.5

Tools

3

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
tagstringNoMatch a single free-form keyword tag.
genrestringNoExact or partial genre match, case-insensitive.
limitintegerNoMax tracks to return (default 20, max 100).
querystringNoFree-text match against title, artist name, album, genre, and description.

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.