au-trademark-trends-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@au-trademark-trends-mcpshow filing trends for class 9 over the past decade"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
au-trademark-trends-mcp
An MCP server for Australian trade mark trends, built on IP Australia's open data at data.gov.au/data/dataset/iprapid. Python + DuckDB.
Architecture
5 CSVs (5.2GB) ──→ etl/build_db.py ──→ data/tm.duckdb (995MB) ──→ src/server.py (MCP)
DuckDB reads CSV 6 normalised tables 12 tools, 10-800ms
directly + 1 wide tableThe ETL runs in about 47 seconds. tm_application is a denormalised wide
table - applicant, country, mark text and class count are all flattened into
it - so the common query is a single-table scan with no joins.
Related MCP server: mcp-trademark
Setup
python -m venv .venv.venv\Scripts\python.exe -m pip install -r requirements.txtBuild the database (needs the five CSVs in the project root, about 33 seconds):
.venv\Scripts\python.exe etl\build_db.pyRun the end-to-end test (spawns a real MCP server and makes 20 tool calls through the official client):
.venv\Scripts\python.exe test\smoke.pyRun the tm_sql guard tests, which assert the escape hatch cannot reach the
filesystem or the network:
.venv\Scripts\python.exe test\test_sql_guard.pyConnecting
Claude Code - the repository ships a .mcp.json whose paths are relative to
the project root, so a clone works as soon as the dependencies are installed.
Start Claude Code in the project directory; the first run asks whether you trust
the project's MCP servers. No paths to edit.
To use it from any directory, register it at user scope instead. This needs
absolute paths - replace <project path> with your own:
claude mcp add -s user au-trademark-trends -- "<project path>/.venv/Scripts/python.exe" "<project path>/src/server.py"Claude Desktop has no concept of a project directory, so absolute paths are
the only option. Edit %APPDATA%\Claude\claude_desktop_config.json, and note
that backslashes must be doubled inside JSON:
{
"mcpServers": {
"au-trademark-trends": {
"command": "<project path>\\.venv\\Scripts\\python.exe",
"args": ["<project path>\\src\\server.py"]
}
}
}Quit Claude Desktop completely and restart it afterwards - closing the window is not enough, exit it from the system tray.
On Linux and macOS, use .venv/bin/python in place of
.venv/Scripts/python.exe.
The 12 tools
Tool | Answers |
| Coverage, freshness, and what it explicitly cannot answer |
| Filing volume over time, split by class, outcome or origin; yearly, quarterly or monthly |
| Which Nice classes are rising or falling against an equal-length baseline |
| Registration, lapse and refusal rates, plus average time to registration |
| A word's trend in brand names, with a |
| The actual marks a keyword matched, to check it measures what you think |
| Leading applicants with growth and registration rates, merged into corporate groups |
| One group's filing history, main classes and usual agents |
| Domestic versus foreign share, and the leading source countries |
| Madrid Protocol flow in and out of Australia; imports split by origin and class |
| Renders a self-contained SVG into |
| Read-only SQL escape hatch for questions the other tools do not cover |
Tables
Table | Rows | Grain |
| 2,314,887 | One row per application, denormalised |
| 3,727,611 | Application x Nice class |
| 5,345,477 | Application x mark text representation |
| 2,228,469 | One searchable headline mark text per application |
| 7,656,643 | Application x party (applicant, agent, opponent) |
| 2,314,679 | The founding applicant of each application |
| 674,221 | party_id to resolved corporate group |
| 1,428,159 | Madrid, convention priority, related applications |
Applicant entity resolution
Neither identifier in the source data is a usable company key on its own. They
are many-to-many in both directions: one party_id can carry 19 different
names, and avon products inc spans 4 different party_id values across 1,975
filings. Nestlé is scattered across more than ten id/name pairs.
This changes answers. Ranked by legal name, the top 2021-2025 applicant is
Novartis on 484 filings. But Aristocrat filed 476 as aristocrat technologies australia pty ltd and another 288 as aristocrat technologies inc - as a group
it leads with 767.
etl/entities.py treats (party_id, normalised_name) as
edges of a bipartite graph and takes its connected components, merging in both
directions at once. Names are normalised by stripping trading-as clauses,
punctuation, a leading article and trailing legal-form tokens (pty ltd,
gmbh, kabushiki kaisha, …). Names that are nothing but a legal form get no
matching edge, so they cannot pool unrelated companies.
The result is deliberately conservative - 674,221 party ids collapse to 638,142 groups, and no component exceeds 12 ids:
Group size | Count |
1 (unmerged) | 606,306 |
2 | 28,612 |
3-5 | 3,169 |
6-10 | 66 |
11-50 | 1 |
51+ | 0 |
tm_applicant_ranking groups by entity by default; pass
group_by="legal_name" for the raw entities.
Counting rules and traps
Every tool returns a caveats field. Pass it on when reporting results.
applications vs class_filings. With no class filter the metric counts applications; with a class filter it counts class filings, so an application covering three classes is counted three times. The
metricfield says which.The trailing period is always incomplete. Data runs through 2026-08.
partial_bucketsflags the affected periods and charts shade them grey. Do not read the final period as a decline.Status is a snapshot, not an examination outcome.
deadincludes marks that registered and later lapsed or ceased. A highpendingshare in the last two or three cohorts is expected, not a signal.Keyword search covers mark text only, not goods and services text. Mark text exists for 96.3% of applications.
per_10k_filingsis more trustworthy than a raw count. It normalises against total filing volume, separating a real trend from overall market growth.Individual applicant names are pseudonymised upstream and cannot be recovered. Only organisation names are real.
Applicant rows are corporate groups by default. Entity resolution is name-based and conservative, so unrelated companies sharing a plain name (several "Delta" companies) can still be pooled, and misspelt names (
aristocrat technolgies) stay separate.legal_entities_mergedshows how many names went into a row.Filings are attributed to the founding applicant, so later assignments do not move them.
Madrid exports have no destination country. The source records only that a mark went out, so a total is all that is available.
The CSVs escape quotes with a backslash (
\") rather than doubling them, soread_csvneedsescape='\'or it fails partway throughparty_activity.csv.
Not loaded yet
application_events.csv (4.2GB, 31.7M trade mark events) is not loaded. It
would unlock adverse examination rates, opposition rates, renewal rates and true
stage-by-stage pendency. Adding it is one more block in the ETL - the event
types are already confirmed: exam_outcome_adverse 1.36M,
published_opp_lodged 26,834, removed_non_use 6,495.
Data source
https://data.gov.au/data/dataset/iprapid - IP Australia's intellectual
property rights open data, published on data.gov.au and updated periodically.
Drop replacement CSVs in the project root and re-run etl/build_db.py; the
server needs no changes.
The source CSVs and the built database are gitignored - 10.4GB in total, well past GitHub's limits. The five files needed are:
application.csv 720 MB
application_classification.csv 2.0 GB
application_description.csv 451 MB
application_links.csv 271 MB
party_activity.csv 1.8 GBLicence
The code is MIT - see LICENSE.
That does not extend to the data, which IP Australia publishes under its own terms. Confirm the current licence on the dataset page before redistributing the data or any derived dataset, and attribute IP Australia as the source.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Query, join, profile, clean and convert CSV/JSON/Parquet with server-side DuckDB over MCP.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
SEO MCP server for keyword research, SERP analysis, audits, and Search Console workflows.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceAn MCP server that enables natural language querying of over 10 million ball-by-ball cricket deliveries stored in a local DuckDB database. It provides 26 tools for analyzing player matchups, situational stats, and historical records across all major cricket formats and tournaments.2
- FlicenseNot gradedqualityDmaintenanceUSPTO Trademark Watcher MCP server enabling trademark search, watch, and alert management from within Claude or other MCP clients.
- AlicenseNot gradedqualityCmaintenanceMCP server for trend-pulse, an agentic trend intelligence platform that fetches and analyzes trending topics from 37 sources, provides search, historical data, and lifecycle prediction via 29 tools.57MIT
- AlicenseAqualityDmaintenanceAn MCP server for discovering, downloading, querying, and analyzing datasets from Ontario's open data portals, allowing natural language questions and high-performance analytics via DuckDB.231MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/HMEI83/IP-Australia-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server