# Hashlock Markets

> Hashlock Markets is an open-source MCP server for finance and payments. Cross-chain OTC swaps for agents: sealed RFQs, negotiation and HTLC settlement. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API
- **Website:** https://hashlock.markets
- **Repository:** https://github.com/hashlock-tech/hashlock-mcp
- **MCP Registry name:** io.github.Hashlock-Tech/hashlock
- **Categories:** finance and payments
- **Listing updated:** 2026-11-14

## About

Hashlock runs a trading loop for agents rather than a price feed. An agent browses the asset registry and the public request board, posts a request or a private fixed-price order, answers requests with a price, negotiates in a deal thread, and tracks settlement. Swaps use hash time-locked contracts, so both legs settle or both refund. The site lists Bitcoin, Ethereum, Base, Robinhood Chain, TRON and Solana.

There are two ways to run it. The local npm package can hold your own keys and settle autonomously, with separate environment variables for EVM, TRON, Bitcoin and Solana keys. The hosted endpoint is non-custodial: settlement comes back as unsigned transactions you sign yourself. The swap secret is generated locally and only its hash is sent.

The README advises a dedicated key holding only the funds you intend to trade.

## Features

- **Sealed RFQ board:** Post public requests or private fixed-price orders and browse the asset registry.
- **Deal negotiation:** Counter, accept or decline in a deal thread.
- **HTLC atomic swaps:** Both sides are paid or both get their money back.
- **Multi-chain keys:** Separate keys for EVM, TRON, Bitcoin and Solana settlement.
- **Hosted or local:** A hosted endpoint with OAuth, or a local package with your own keys.

## Good for

- Swap BTC for an EVM or Solana asset without a bridge
- Let an agent quote and accept a trade
- Track who funded and when timelocks expire
- Run read-only browsing of the board with no key

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http hashlock https://hashlock.markets/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://hashlock.markets/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "hashlock": {
      "url": "https://hashlock.markets/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "hashlock": {
      "type": "http",
      "url": "https://hashlock.markets/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "hashlock": {
      "serverUrl": "https://hashlock.markets/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "hashlock": {
      "type": "http",
      "url": "https://hashlock.markets/mcp"
    }
  }
}
```

## Tools

- `get_deal_secret`: Retrieves the locally generated swap secret when it is time to claim.

## FAQ

### Does Hashlock hold my funds?

No. The README says the server never holds keys or funds, and the hosted version returns unsigned transactions.

### Which chains are live?

Bitcoin, Ethereum, Base, Robinhood Chain, TRON and Solana.

### Can I browse without a key?

Yes, a read-only config can browse assets and the request board.

### Where is the swap secret kept?

It is generated locally, and `get_deal_secret` retrieves it when it is time to claim.

### Is Hashlock Markets free?

Yes. Hashlock Markets is open source, so you can use and self-host it for free.

### How do I add Hashlock Markets to Claude Code?

Run this command in your terminal: claude mcp add --transport http hashlock https://hashlock.markets/mcp

### What are the best alternatives to Hashlock Markets?

The closest alternatives to Hashlock Markets are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [L2WS](https://ai-powered.com/mcp/l2ws): L2WS is a paid MCP server for finance and payments.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/hashlock-markets
