Read-only tools for live Midnight networks: health, transactions, DUST, errors and example code
Connect Runs on your machine
claude mcp add midnight-cast -e BLOCKFROST_PREPROD_PROJECT_ID=<BLOCKFROST_PREPROD_PROJECT_ID> -e BLOCKFROST_MAINNET_PROJECT_ID=<BLOCKFROST_MAINNET_PROJECT_ID> -e MIDNIGHT_CAST_NETWORKS=<MIDNIGHT_CAST_NETWORKS> -- npx -y [email protected]
{
"mcpServers": {
"midnight-cast": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"BLOCKFROST_PREPROD_PROJECT_ID": "<BLOCKFROST_PREPROD_PROJECT_ID>",
"BLOCKFROST_MAINNET_PROJECT_ID": "<BLOCKFROST_MAINNET_PROJECT_ID>",
"MIDNIGHT_CAST_NETWORKS": "<MIDNIGHT_CAST_NETWORKS>"
}
}
}
}
{
"mcpServers": {
"midnight-cast": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"BLOCKFROST_PREPROD_PROJECT_ID": "<BLOCKFROST_PREPROD_PROJECT_ID>",
"BLOCKFROST_MAINNET_PROJECT_ID": "<BLOCKFROST_MAINNET_PROJECT_ID>",
"MIDNIGHT_CAST_NETWORKS": "<MIDNIGHT_CAST_NETWORKS>"
}
}
}
}
{
"servers": {
"midnight-cast": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"BLOCKFROST_PREPROD_PROJECT_ID": "<BLOCKFROST_PREPROD_PROJECT_ID>",
"BLOCKFROST_MAINNET_PROJECT_ID": "<BLOCKFROST_MAINNET_PROJECT_ID>",
"MIDNIGHT_CAST_NETWORKS": "<MIDNIGHT_CAST_NETWORKS>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
BLOCKFROST_PREPROD_PROJECT_IDOptional, secret | Blockfrost project ID for a Midnight Preprod project, needed only to query preprod. It is never shown to the model. |
BLOCKFROST_MAINNET_PROJECT_IDOptional, secret | Blockfrost project ID for a Midnight Mainnet project, needed only to query mainnet. It is never shown to the model. |
MIDNIGHT_CAST_NETWORKSOptional | Comma-separated networks the model may query, such as preview,preprod. Default: every built-in network. |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 7 Nov 2026 |
| Last updated | 7 Nov 2026 |
| Registry name | io.github.Kanasjnr/midnight-cast |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
