More
Connect an MCP client
AI agents and MCP clients can read Bittensor network data through the Bittensor.ai MCP server, signed in with a bittensor.ai account.
Overview
https://bittensor.ai/mcpThe tools start with validators: whether a hotkey is a validator on a subnet, what is missing and what each step costs. They also read accounts, subnets, staking and transactions. The data comes from the Bittensor.ai API.
Access and sign-in
Add the server URL to your client and nothing else. The client opens bittensor.ai in your browser, you sign in as usual and approve the connection. API keys are not accepted on this server. To call the REST API from your own code, create a key in API keys in Settings.
If the consent screen says “MCP access isn't enabled for your account”, no connection is made. To ask about access, email [email protected].
The client receives a token bound to this MCP server. It lasts 15 minutes and is refreshed automatically.
Client setup
Claude (web and desktop)
- Go to Customize and open Connectors.
- Select + Add, then Add custom connector.
- Name it
bittensor, pastehttps://bittensor.ai/mcpand select Continue. - Keep the detected sign-in settings and add the connector.
- Connect, then sign in with bittensor.ai and approve the connection.
Claude Code
claude mcp add --transport http bittensor https://bittensor.ai/mcpThen run /mcp in Claude Code, choose bittensor and sign in with bittensor.ai in the browser window that opens.
Other apps with a connector setting
In the app's settings, find connectors or integrations, add a custom connector and paste https://bittensor.ai/mcp. Sign in with bittensor.ai when asked.
Other command-line agents
Add a remote MCP server over HTTP named bittensor with the URL above, then run the client's authenticate step and sign in with bittensor.ai.
Requirements
Any client that supports remote MCP servers over streamable HTTP with OAuth sign-in can connect. It discovers bittensor.ai as the authorization server and registers itself. After sign-in a client can only be sent back to an https or loopback address, so a client whose sign-in returns to a custom URL scheme (such as cursor://) cannot finish connecting.
What the tools do
- Read network data: subnets and their hyperparameters, validators with their nominators and yield, child keys, weight activity, transactions and accounts.
- Validator setup: every on-chain step to become a validator on a subnet, with its live status, the registration conditions and the stake needed for a permit.
- Your account: your usage and credits, your membership tier, and the portfolio across the wallets you verified on bittensor.ai.
Amounts come back as decimal strings named by unit: TAO, or the subnet's alpha.
Keys
The server never holds your keys and never signs anything.
Permissions requested
The consent screen lists the permissions the client asks for. Those for reading are:
data:read- Read chain, subnet, validator and account data.
billing:read- Read your usage, credits and membership.
account:read- Read the wallets you verified on bittensor.ai for your portfolio. It also covers your profile and email.
The connection acts for your Personal workspace, with its tier, quota and credits.