---
variant: static
url: /docs/mcp
title: thinkinglabs MCP server
description: >-
  Run the thinkinglabs MCP server from a local checkout to search claims,
  predictions, and decisions.
---
# thinkinglabs MCP server

Run the thinkinglabs MCP server from a local checkout to search claims, predictions, and decisions.

## Run the local stdio server

Install the repository dependencies with pnpm install. Configure your MCP client to launch the command below from the checkout.

```sh
pnpm mcp:thinkinglabs
```

- [Source and example client configuration](https://github.com/flaming-codes/thinkinglabs/blob/main/docs/agents/mcp-server.md)

## Query the corpus

Call query_view with view set to "claims" and a limit. Add q for a text search or tags to narrow the results. Read thinkinglabs://predictions/calibration to compare confidence with resolved outcomes.

For a complete collection without a checkout, use the public JSON API.

- [thinkinglabs API documentation](/docs/api)
- [Tools and resources](/agents)

## Run locally over Streamable HTTP

Start the standalone HTTP transport and point your client to http://127.0.0.1:8787/mcp.

```sh
pnpm mcp:thinkinglabs:http
```

- [Standalone HTTP configuration](https://github.com/flaming-codes/thinkinglabs/blob/main/docs/agents/mcp-http-server.md)
