Skip to main content
Glama
7BlockLabs

The Data City MCP Server

by 7BlockLabs
README.md
# The Data City MCP Server

A production-shaped [Model Context Protocol](https://modelcontextprotocol.io) server for **The Data City**,
built by **[7Block Labs](https://7blocklabs.com)**. It makes The Data City's API usable directly by AI agents
(Claude, ChatGPT, Cursor) — metered to the caller's own key — instead of leaving it to community wrappers.

Built for the The Data City team as a working example of the official MCP server we'd ship & launch for you
(OAuth + per-plan metering + listings in the Claude and ChatGPT directories).

```bash
python -m venv .venv && source .venv/bin/activate && pip install -e .
export THE_DATA_CITY_API_KEY=...        # your The Data City API key
python -m the_data_city_mcp.server                       # stdio
TRANSPORT=http PORT=8000 python -m the_data_city_mcp.server   # remote
```
Claude Code: `claude mcp add --transport http the-data-city http://localhost:8000/mcp`

API: `https://product-api.thedatacity.com/api` · docs: https://docs.thedatacity.com/api-reference/ · auth: Bearer token in Authorization header

## Tools
| Tool | What it does |
|---|---|
| `search_companies` | Full-text search for UK companies by keyword/name |
| `get_company_details` | Full details for a UK company by Companies House number |
| `get_company_group_structure` | Corporate group/ownership structure for a company |
| `list_companies_by_website` | Find companies associated with a website/domain |
| `get_rtics` | Real-Time Industrial Classification (RTIC) definitions |

Want this hardened (OAuth, metering) and listed in Claude + ChatGPT? **[7Block Labs](https://7blocklabs.com)**
builds and launches MCP servers for data & API companies. MIT licensed.