Skip to main content
Glama

Subtensor MCP

Server Details

Subtensor blockchain reference — events, calls, storage, constants, errors for all 28 active pallets

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

Score is being calculated.

Available Tools

7 tools
subtensor_decodeDecode SCALE data
Read-onlyIdempotent
Inspect

Decode SCALE-encoded hex into labelled fields with RAO→TAO and hex→SS58 conversions applied. Omit pallet and name to identify an event or call from its two-byte (pallet index, item index) prefix — the usual case when you have bytes and want to know what they are.

ParametersJSON Schema
NameRequiredDescriptionDefault
hexYesSCALE-encoded bytes as hex, with or without a 0x prefix. Whitespace is ignored.
kindNoWhat the bytes are: 'event' (default), 'call', or 'value' for a bare value of a given type
nameNoEvent or call name. Must be given together with "pallet".
typeNoFor kind="value": the SCALE type to decode against, e.g. "u64", "AccountId", "Vec<u16>", "Option<u32>"
formatNoResponse format: 'text' (compact, default) or 'json' (structured)
palletNoPallet of the event or call. Omit together with "name" to identify the item from the byte prefix instead.

Output Schema

ParametersJSON Schema
NameRequiredDescription
kindYes
inputYes
fieldsYes
trailing_bytesYes
subtensor_explainExplain Subtensor concepts
Read-onlyIdempotent
Inspect

Understand Bittensor concepts, workflows, mechanisms, runtime APIs, runtime errors, extrinsic format, or get code examples.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoTopic-specific name: concept name ('staking'), workflow ID ('add-stake'), mechanism ID ('yuma-consensus'), runtime API name ('NeuronInfoRuntimeApi'), or item name for examples
topicYesWhat to explain
formatNoResponse format: 'text' (compact, default) or 'json' (structured)
palletNoPallet name — required for examples (e.g., 'SubtensorModule')
languageNoFor examples: filter to one language (overrides session preference)
node_urlNoFor examples: WebSocket endpoint override
enum_slugNoFor runtime_errors: get a specific error enum
item_typeNoFor examples: type of item to generate code for
node_typeNoFor examples: 'lite' (current state) or 'archive' (historical patterns)
preferencesNoPreferences handle from subtensor_preferences(action="set"). Carries language/node_url/node_type without a session. Explicit arguments on this call take precedence over the handle.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

subtensor_exploreExplore relationships and changelogs
Read-onlyIdempotent
Inspect

Explore relationships, version history, removed items, changelogs, and migration guides between runtime versions.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoItem name (e.g., 'StakeAdded', 'add_stake', 'TotalStake')
typeNoItem type — for relationships (event/call/storage/error), for removed (all/pallet/event/call/storage/constant/error)
limitNoMax items per page (default: 10)
topicYesWhat to explore
cursorNoPagination cursor from previous response
formatNoResponse format: 'text' (compact, default) or 'json' (structured)
palletNoPallet name (e.g., 'SubtensorModule')
versionNoFor versions: look up a specific version
to_versionNoFor changelog/migration: end version
from_versionNoFor changelog/migration: start version

Output Schema

ParametersJSON Schema
NameRequiredDescription
topicYesExplore topic, mirrors the request topic
subtensor_listList Subtensor items
Read-onlyIdempotent
Inspect

Browse items by category: pallets, events, calls, storage, constants, errors, types, runtime APIs, RPC methods, protocol accounts, EVM precompiles, mechanisms, workflows, hyperparameters, cli_flags, build_features, chain_specs, or env_vars.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNoFor types: filter by type kind
roleNoFilter calls by required role (only applies when category=calls)
limitNoMax items per page (default: 10)
cursorNoPagination cursor from previous response
domainNoFor mechanisms: filter by domain
formatNoResponse format: 'text' (compact, default) or 'json' (structured)
palletNoPallet name — required for events/calls/storage/constants/errors (e.g., 'SubtensorModule'). For category='rpc_methods' this filters by RPC namespace instead (e.g., 'state', 'subtensor').
searchNoFor types: search by name
contextNoFor cli_flags/build_features: filter by usage context
categoryYesCategory of items to list
flag_categoryNoFor cli_flags: filter by flag category (chain, sync, networking, rpc, metrics, runtime, subtensor)
include_removedNoInclude removed/historical items (default: false)

Output Schema

ParametersJSON Schema
NameRequiredDescription
categoryYesItem category, mirrors the request category
subtensor_lookupLook up Subtensor item
Read-onlyIdempotent
Inspect

Get detailed info about a specific pallet, event, call, storage item, constant, error, SCALE type, RPC method, protocol account, or EVM precompile. Accepts URN identifiers with optional #field.path drilling.

ParametersJSON Schema
NameRequiredDescriptionDefault
subNoFor type="account": derive a sub-account. A number is a netuid or crowdloan id; a string is an 8-byte tag such as "beta/esc". Index 0 collapses onto the base address.
urnNoURN identifier (e.g., 'subtensor:event:SubtensorModule.StakeAdded', 'subtensor:storage:System.Account#data.free', 'subtensor:api:SwapRuntimeApi.sim_swap_tao_for_alpha', 'subtensor:account:SubtensorModule.SubtensorPalletId#64', 'subtensor:precompile:StakingV2'). `subtensor:runtime_api:...` is accepted as an alias for `subtensor:api:...`. Supports field-path drilling with # for event/call/storage/type items (for account items, #fragment is a sub-index instead). Alternative to type+pallet+name. Takes precedence if both provided.
nameNoItem name (e.g., 'SubtensorModule', 'StakeAdded', 'add_stake', 'AccountId32', 'pruning', 'pow-faucet') or type ID number. For type="account": the declaring key ('SubtensorModule.SubtensorPalletId'). For type="precompile": a name ('StakingV2') or 0x address.
typeNoWhat kind of item to look up
formatNoResponse format: 'text' (compact, default) or 'json' (structured)
palletNoPallet name — required for event/call/storage/constant/error lookups (e.g., 'SubtensorModule')
addressNoFor type="account": an SS58 address to identify. Returns which protocol account it is, including the sub-index, or reports that it is an ordinary wallet.
includeNoFor pallet lookup: filter to a specific item type with descriptions
languageNoField name casing for your language. TypeScript shows camelCase (tickLow), others show snake_case (tick_low). Overrides session preference.
preferencesNoPreferences handle from subtensor_preferences(action="set"). Carries language/node_url/node_type without a session. Explicit arguments on this call take precedence over the handle.
include_historyNoInclude full argument signatures for each version range (events/calls only)
include_removedNoInclude removed/historical items (default: false)

Output Schema

ParametersJSON Schema
NameRequiredDescription
nameYes
typeYesItem kind, mirrors the request type
palletNo
subtensor_preferencesSession preferencesInspect

Get or set session preferences for language, node URL, and node type. Language affects field name casing (TypeScript=camelCase, others=snake_case) and code examples.

ParametersJSON Schema
NameRequiredDescriptionDefault
actionNoAction to perform (default: 'get')
formatNoResponse format: 'text' (compact, default) or 'json' (structured)
languageNoFor set: preferred language. Affects field name casing in lookups (TypeScript=camelCase, others=snake_case) and code examples.
node_urlNoFor set: WebSocket endpoint for generated code
node_typeNoFor set: 'lite' (current state) or 'archive' (historical patterns)
preferencesNoPreferences handle from subtensor_preferences(action="set"). Carries language/node_url/node_type without a session. Explicit arguments on this call take precedence over the handle.

Output Schema

ParametersJSON Schema
NameRequiredDescription
languageNo
node_urlNo
node_typeYes
preferences_handleYesPass back as `preferences` on later calls to reapply these.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 7 tool updates
    • First observedsubtensor_decode
    • First observedsubtensor_explain
    • First observedsubtensor_explore
    • First observedsubtensor_list
    • First observedsubtensor_lookup
    • First observedsubtensor_preferences
    • First observedsubtensor_search

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources