secondlayer
tools.secondlayer/secondlayer · Website · Repository
Stacks chain data: contracts, events, transfers, subgraph scaffolds. Hosted with browser sign-in.
On 2026-11-29 05:29 UTC, the BOTERNITY MCP Index scored secondlayer (tools.secondlayer/secondlayer) 74/100 (grade C); 20 tools, 4765 tokens for tools/list; healthy in 100 % of 2 checks over 30 days. Source: https://boternity.com/mcp-index/server?name=tools.secondlayer%2Fsecondlayer
Free to reuse under CC BY 4.0 with a link. Permanent link: this page · JSON (status, score and the last 30 checks) · key numbers of the whole index.
Score breakdown
| Reliability initialize, ping, response time | 30 / 30 |
| Protocol conformance protocol revision, server info, instructions | 13 / 20 |
| Tool definitions descriptions, documented and typed parameters, annotations | 24 / 40 |
| Context cost tokens that tools/list adds to every agent's context | 7 / 10 |
Tools this server declares
20 tools listed by the server at the check of 2026-11-29.
account_whoami— Show the archive account email at api.secondlayer.tools, not the self-host instance.batch_query— Run up to 10 public /v1 reads in one round trip (POST /v1/batch). Each item keeps its own auth/quota/pay-per-call semantics; results return in order with per-item status. Paths must start with /v1/index, /v1/subgraphs, /v1/streams, or /v1/c (parameters: requests*)contracts_find— Discover deployed Stacks contracts conforming to a trait (e.g. "sip-010", "sip-009", "sip-013"). The discovery endpoint for "which contracts implement X". Reads are public. (parameters: conformance, cursor, include, limit, trait*)contracts_get_abi— Fetch a single deployed contract's ABI from the registry (prod-safe). Returns the contract's metadata + full ABI (functions, maps, variables, fungible/non-fungible tokens). Returns not_found if the contract isn't in the registry. Use it to (parameters: contractId*)index_blocks— List decoded blocks from Index. Keyless on OSS loopback; otherwise needs INSTANCE_TOKEN (OSS) or SECONDLAYER_API_KEY (hosted). (parameters: cursor, fromHeight, limit, toHeight)index_contract_calls— List decoded contract calls from the Index (function name, args, result). Set `trait` (e.g. sip-010) to match calls to all contracts conforming to a standard. Note: contract-call cursors are a SEPARATE keyspace from event cursors — they are (parameters: contractId, cursor, fromHeight, functionName, limit, sender, toHeight, trait)index_discover— Discover the Index vocabulary: every event type and its columns, allowed/equality filters, and required-non-null fields (and which types accept `trait`). Read this before building Index queries instead of guessing filters. Keyless on OSS loindex_events— List chain events from the Index by event type. Use this for event types without a dedicated tool (stx_*, ft_mint/burn, nft_mint/burn, print), and for trait-scoped queries: set `trait` (e.g. sip-010) to match all contracts conforming to a s (parameters: assetIdentifier, caller, contractId, cursor, eventType*, fromHeight, functionName, limit, map, order, recipient, sender)index_ft_transfers— List decoded SIP-010 fungible-token transfers from Index. Keyless on OSS loopback; otherwise needs INSTANCE_TOKEN (OSS) or SECONDLAYER_API_KEY (hosted). (parameters: assetIdentifier, contractId, cursor, fromHeight, limit, order, recipient, sender, toHeight)index_nft_transfers— List decoded SIP-009 non-fungible-token transfers from Index. Keyless on OSS loopback; otherwise needs INSTANCE_TOKEN (OSS) or SECONDLAYER_API_KEY (hosted). (parameters: assetIdentifier, contractId, cursor, fromHeight, limit, order, recipient, sender, toHeight)index_print_schema— Empirical per-topic print payload schemas for a contract, inferred from sampled on-chain events: each topic's fields with observed Clarity types, decoded TS types, subgraph column types, and presence rates. Use before writing print_event su (parameters: contractId*)index_rune— Get one Bitcoin Rune by id or name. Returns null when not found or Runes is not configured. Keyless on OSS loopback; otherwise needs INSTANCE_TOKEN (OSS) or SECONDLAYER_API_KEY (hosted). Self-host needs the bitcoin compose profile. (parameters: rune*)index_rune_activity— List Bitcoin Runes etch, mint, transfer, and burn events. Heights are Bitcoin block heights. Keyless on OSS loopback; otherwise needs INSTANCE_TOKEN (OSS) or SECONDLAYER_API_KEY (hosted). Self-host needs the bitcoin compose profile. `notes` (parameters: address, cursor, fromHeight, kind, limit, rune, toHeight, txid)index_rune_balances— List current Bitcoin Runes balances per unspent output. Pass exactly one of address or outpoint. Keyless on OSS loopback; otherwise needs INSTANCE_TOKEN (OSS) or SECONDLAYER_API_KEY (hosted). Self-host needs the bitcoin compose profile. `no (parameters: address, cursor, limit, outpoint, rune)index_runes— List the Bitcoin Runes catalog: identity, supply, mints, and mint terms. Keyless on OSS loopback; otherwise needs INSTANCE_TOKEN (OSS) or SECONDLAYER_API_KEY (hosted). Self-host needs the bitcoin compose profile. `notes` says when Runes is (parameters: cursor, limit, search, sort)index_state_writes— List the exact contract-state writes each block committed, in node order: {block_height, ordinal, tx_index, key, value_hex}. Shows which storage key a transaction changed when its events don't. Read one block with blockHeight, or a contract (parameters: blockHeight, contractId, cursor, fromHeight, limit, toHeight, txContext)index_transactions— List decoded transactions from Index. Filter by type, sender, or contract. Keyless on OSS loopback; otherwise needs INSTANCE_TOKEN (OSS) or SECONDLAYER_API_KEY (hosted). (parameters: contractId, cursor, fromHeight, limit, sender, toHeight, type)streams_dumps— List the Streams bulk parquet dumps manifest — coverage range, latest_finalized_cursor, and per-file metadata (block range, row count, size, sha256, signed URL). This is the cold backfill path for downloading all raw data; fetch the file URstreams_tip— Current canonical chain tip as Streams sees it: block height/hash, burn height, finalized_height, lag_seconds, and the oldest seekable height/cursor for this key's retention window. Call it before a cursor walk to know where the stream endssubgraphs_scaffold— Generate a subgraph from observed print events when available; ABI token transfers or public functions only when the contract has never printed. Review the TypeScript, run subgraphs_test until ok: true with written >= 1, read skipped, then (parameters: contractId*, subgraphName)
Tool names and descriptions are the server's own words, copied from its tools/list answer at the dated check (descriptions cut at 240 characters, 12 parameters, 30 documented tools at most). BOTERNITY never calls these tools and does not verify what they do. Parameters marked * are required.
Add it to your client
Address (Streamable HTTP): https://api.secondlayer.tools/mcp. The check of 2026-11-29 (UTC) connected to this address without any credential.
Claude (claude.ai, Claude Desktop): add a custom connector and paste the address https://api.secondlayer.tools/mcp (docs).
ChatGPT: add the address https://api.secondlayer.tools/mcp as a connector (docs).
Claude Code, in a terminal (options: claude mcp add --help):
claude mcp add --transport http secondlayer https://api.secondlayer.tools/mcpCursor, in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) (docs):
{
"mcpServers": {
"secondlayer": {
"url": "https://api.secondlayer.tools/mcp"
}
}
}VS Code, in .vscode/mcp.json (docs):
{
"servers": {
"secondlayer": {
"type": "http",
"url": "https://api.secondlayer.tools/mcp"
}
}
}Generated from the Streamable HTTP address this server publishes in the official MCP Registry (the address the Index check connects to) and from the request headers its registry entry declares as required. Values in capitals are placeholders: get the real ones from the publisher. Nothing here is run against the server. Whether each client can complete the connection is measured just below.
Works with Claude, ChatGPT, Cursor and VS Code?
| Client | Verdict | Why |
|---|---|---|
| Claude | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Claude accepts servers that need no sign-in. client docs |
| ChatGPT | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; ChatGPT accepts servers that need no sign-in. client docs |
| Cursor | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; Cursor accepts servers that need no sign-in. client docs |
| VS Code | Ready | Answered a standard MCP initialize over Streamable HTTP without sign-in on 2026-11-29; VS Code accepts servers that need no sign-in. client docs |
How verdicts are made: measured continuously, never guessed. All servers that work with each client.
Badges for your README, updated after each new check with the verdicts above:
[](https://boternity.com/mcp-index/server?name=tools.secondlayer%2Fsecondlayer#clients)
[](https://boternity.com/mcp-index/server?name=tools.secondlayer%2Fsecondlayer#clients)
[](https://boternity.com/mcp-index/server?name=tools.secondlayer%2Fsecondlayer#clients)
[](https://boternity.com/mcp-index/server?name=tools.secondlayer%2Fsecondlayer#clients)
Availability
100 % over 2 checks. Last check 2026-11-29.
What the last check found
- no server instructions for agents
- 20 of 20 tools without outputSchema
- 20 of 20 tools without readOnlyHint/destructiveHint annotations
- unknown method does not return a JSON-RPC error
Badge for your README
[](https://boternity.com/mcp-index/server?name=tools.secondlayer%2Fsecondlayer)
This measurement is signed by boternity.com (Ed25519, key 450c02fbfb29dba9, digest sha256:efa9b2adc57081b2…), in the badge and in the JSON. Anyone can check a copy.
Get alerted when it goes down
Free: leave an e-mail or a webhook and we tell you when this server goes down and when it is back. Without a subscription nobody is told, even when it is followed on the MCP weather.
Or follow it in a feed reader: Atom feed · JSON Feed (first seen, became unavailable, back online, tool definitions changed; checks of the last 30 days).
Endpoint: https://api.secondlayer.tools/mcp. Scores are automatic and may be wrong. Owners can ask for removal via support.