> For the complete documentation index, see [llms.txt](https://docs.bankless.com/bankless-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bankless.com/bankless-api/other-services/onchain-mcp.md).

# Onchain MCP

{% hint style="info" %}
Bankless Onchain MCP is currently in beta. Please reach out to support with any feedback.
{% endhint %}

The Bankless Onchain MCP puts powerful blockchain integration directly into the LLMs you use day to day, making your AI experience even more powerful than it already is today.&#x20;

Our MCP server is listed on the official [modelcontextprotocol list](https://github.com/modelcontextprotocol/servers?tab=readme-ov-file#%EF%B8%8F-official-integrations) and the [awesome-mcp-servers list](https://github.com/punkpeye/awesome-mcp-servers).&#x20;

### A quick demo

{% embed url="<https://github.com/user-attachments/assets/95732dff-ae5f-45a6-928a-1ae17c0ddf9d>" %}

### How to get up and running

Our installation instructions are available via Github: <https://github.com/bankless/onchain-mcp?tab=readme-ov-file#installation>&#x20;

API keys are available to Bankless Citizens via [your Bankless account](https://www.bankless.com/account), limited to 10 requests/minute.

Not a Bankless Citizen? Join 10,000 other Citizens at [bankless.com/join](https://www.bankless.com/join) and get access to a bunch of other perks too!

&#x20;If you're looking for an API key for anything beyond personal use, then please reach out to <api@bankless.com> explaining your use case and estimated usage.&#x20;

<figure><img src="/files/uFEYqRkthaI1TyqAWOjD" alt=""><figcaption></figcaption></figure>

### Useful links

* Github repo: <https://github.com/Bankless/onchain-mcp>&#x20;
* Become a Bankless Citizen: <https://www.bankless.com/join>&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bankless.com/bankless-api/other-services/onchain-mcp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
