Skip to main content
Glama
README.md
# Royalty Clerk · Texas mineral data for AI agents

Live Texas Railroad Commission, Comptroller & County Appraisal Roll data for AI agents — free, read-only, zero auth.

Connect to `https://royaltyclerk.com/mcp` using **Streamable HTTP**. The six tools return Texas public records or a royalty-interest calculation. No account, API key, or local server is needed. Royalty Clerk is operated by AGI Solutions LLC.

## Tools

| Tool | Ask it for |
| --- | --- |
| `wells_near` | Well counts by status within 1, 3 and 10 miles of a Texas town, ZIP, county reference point or coordinates. Includes the 10 nearest located wells with API numbers, and the newest drilling permits from the last 12 months. |
| `lease_production` | Monthly oil (bbl) and gas (Mcf) for a Texas oil lease or gas well, its operator, status and year-over-year trend. Supply a lease slug, RRC number and district, or search by name. |
| `operator_profile` | An operator’s RRC P-5 standing, active leases, 12-month oil and gas production, and 24-month inspection and violation counts. |
| `county_stats` | County oil and gas totals for the last 12 months, active leases, top five operators, and appraisal-roll counts for mineral and estate-titled accounts where available. |
| `late_interest_calc` | An estimate under Texas Natural Resources Code §§91.402–403. It uses the 60-day oil, 90-day gas or 120-day first-sale assumption and the New York Fed primary credit rate plus two percentage points. Returns the due date, days late, rate and interest. Written agreements and statutory exceptions can affect what is owed. |
| `mineral_buyer_check` | Look up a company named in a mineral buyout offer by name or Texas taxpayer number. Returns available Comptroller/SOS standing, an RRC P-5 match and a reminder to distinguish acres normalized to a 1/8 royalty from acres at the actual lease royalty. |

When quoting a result, include its source credit and canonical page. Check the data period in the response. A missing field means the figure or status is unknown. [Exact live tool descriptions, input and output schemas](tools.json) · [Source and discovery guide](https://royaltyclerk.com/llms.txt) · [Texas statute](https://tcss.legis.texas.gov/resources/NR/htm/NR.91.htm)

## Five prompts to try

1. How many producing wells lie within 3 miles of Midland, Texas? Give me the API number of the nearest well and the most recent permit within 10 miles.
2. Show 24 months of oil and gas production for the SACROC Unit in Scurry County (district 8A, lease 03137). What changed year over year?
3. Who are Midland County’s five leading operators? Then check Kinder Morgan Production Co LLC (RRC 463316) for P-5 standing and inspections over the last 24 months.
4. Estimate late interest on $1,000 of January 2024 oil proceeds paid May 15, 2024. Assume a subsequent sale and statutory terms. Show the due date, rate and days late.
5. A buyout letter names Burk Royalty Co., Ltd., Texas taxpayer number 17509382648. What state records match, and how does one net mineral acre on a 1/4 lease compare with a net royalty acre quoted at 1/8?

## Connect a client

### Claude Desktop

In **Customize → Connectors → + Add → Add custom connector**, paste the values below. Team and enterprise workspaces may need an owner to add the connector. [Claude connector instructions](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp)

```text
Name: Royalty Clerk
Remote MCP server URL: https://royaltyclerk.com/mcp
Authentication: No sign in
```

### Claude Code

Add the server for your user account. [Claude Code HTTP setup](https://code.claude.com/docs/en/mcp#option-1-add-a-remote-http-server)

```sh
claude mcp add --transport http --scope user royalty-clerk https://royaltyclerk.com/mcp
```

### Cursor

Use `.cursor/mcp.json` for one project or `~/.cursor/mcp.json` for your account. If the file already has servers, add the `royalty-clerk` entry to its existing `mcpServers` object. [Cursor MCP settings](https://cursor.com/docs/mcp)

```json
{
  "mcpServers": {
    "royalty-clerk": {
      "url": "https://royaltyclerk.com/mcp"
    }
  }
}
```

### Windsurf (Cascade)

Open the MCP configuration in Cascade or edit `~/.codeium/windsurf/mcp_config.json`. Add this entry, save, and refresh the MCP toolbar. [Windsurf remote configuration example](https://github.com/github/github-mcp-server/blob/main/docs/installation-guides/install-windsurf.md)

```json
{
  "mcpServers": {
    "royalty-clerk": {
      "serverUrl": "https://royaltyclerk.com/mcp"
    }
  }
}
```

### ChatGPT

On the web, open **Plugins → + → Add custom MCP server**. Paste the values below, review the connection, select **Create as a plugin**, then install it. In a conversation, select **@Royalty Clerk** and try a prompt above. Availability depends on workspace permissions. [ChatGPT Plugins](https://chatgpt.com/plugins) · [OpenAI setup instructions](https://developers.openai.com/api/docs/guides/custom-mcp-server#how-to-use)

```text
Name: Royalty Clerk
Description: Query Texas public oil, gas and mineral records.
Server URL: https://royaltyclerk.com/mcp
Authentication: No authentication
```

**Custom GPT Actions.** In an editable GPT, choose **Actions → Create new action → Import from URL**, enter `https://royaltyclerk.com/api/public/openapi.json`, and set authentication to **None**. The current spec imports one operation, `wellsNear`. The MCP connection above exposes all six tools. [OpenAPI specification](https://royaltyclerk.com/api/public/openapi.json) · [OpenAI Actions instructions](https://help.openai.com/en/articles/9442513-configuring-actions-in-gpts)

## Verify the live server

```sh
curl -sS https://royaltyclerk.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
```

The same service is available at `https://royaltyclerk.com/api/public/mcp`. Questions about a result? Contact **support@royaltyclerk.com**.

The connector documentation and metadata in this repository are [MIT licensed](LICENSE).