Purpose: This MCP server is for AI assistants to check whether a name is already a registered or pending trademark in the United States (USPTO) and the European Union (EUIPO) before buying a domain name or drawing a logo. It searches by Nice classification and trademark goods and services terms, and can read a single trademark, track US trademark file steps, and save documents as PDF. All tools only read public registers and do not submit any applications; the only files written are PDFs in the server's own outbox.
Main capabilities: search_marks searches by name, office (EM, US, RO, WO, default all four, with unsearched ones stated), Nice classification (1 to 45, default all), goods and services terms, match mode (exact, word, similar, default similar), status (live by default, or all) and number of results returned per office (1 to 100, default 20). get_mark reads a single trademark. mark_history, mark_documents, download_mark_documents are for US trademark files and documents and require a USPTO TSDR API key. The health check shows the status of each source and the conditions required. Similarity scores range from 0 to 100, half based on folded text edit distance and half on phonetic key edit distance, calculated uniformly across offices; scores do not consider goods and services or examiner judgment, and wordless marks have no score.
Usage: The hosted version requires no installation; in Claude, fill in the address via "Settings, Connectors, Add custom connector"; in Claude Code, run claude mcp add --transport http trademarks https://mcp.foreverworks.com/trademarks;其他支持远程 MCP clients can add it as an unauthenticated Streamable HTTP server. The hosted version includes only the US search health, search_marks and get_mark, and does not include EU search or the TSDR-key-requiring mark_history, mark_documents, download_mark_documents; the hosted version is rate-limited per caller, returning 429 with the number of seconds to wait when exceeded, and is suitable for personal use with an assistant, not for bulk queries. Self-installation requires Node 22.19 or later, running the published package; in the JSON configuration the command is node and the argument is the full path to servers/trademarks/dist/index.js. All settings are optional; missing credentials do not prevent the server from starting, sources show not_configured in health, searches mark that office as unsearched, and TSDR tools return a configuration failure with remediation steps. TRADEMARKS_TOOLSETS=search is the keyless toolset that can be hosted for anyone; after loading records the server refuses public listening because these tools use your TSDR key. TRADEMARKS_SOURCES=uspto can exclude EU sources.
Obtaining credentials: A USPTO TSDR API key requires creating a free account at https://account.uspto.gov (two-step login, no identity verification), and applying for a key for the TSDR API at https://account.uspto.gov/profile/api-manager ; the Open Data Portal key is different and TSDR will reject it. Write the key to a file readable only by the server user and point USPTO_TSDR_API_KEY_FILE to it; keys expire after one year, and the manager shows the expiration time and allows renewal. EUIPO credentials require creating an EUIPO user account, logging in at https://dev.euipo.europa.eu,在 Register an app under Apps to obtain a client id and secret, and write each into a file readable only by the server user; subscribe the app to the Trademark Search product (production or sandbox test data) and accept the terms of use; most subscription requests require approval, and EUIPO notifies by email after approval—before that, EUIPO issues tokens but rejects calls, and health shows EM as pending. The server accesses tmsearch.uspto.gov, tsdrapi.uspto.gov, api.euipo.europa.eu and euipo.europa.eu (token endpoint), and when using the sandbox also accesses api-sandbox.euipo.europa.eu and auth-sandbox.euipo.europa.eu; deployments that set MCP_EGRESS_ALLOW must allow these addresses.
Use cases: check whether a name is already registered or pending before buying a domain or designing a logo; search by class and goods/services terms; view US trademark file steps and documents; compare the similarity of candidate trademarks between the US and the EU.
Limitations: Romania OSIM, WIPO and other national offices are not searched, and every result states this; EU searches require EUIPO credentials and subscription approval; US trademark history and documents require a TSDR key; the hosted version does not include EU search or TSDR-related tools and is rate-limited; US search uses the undocumented backend of the USPTO trademark search page, health marks official: false, and USPTO may change it without notice; the server never answers or imitates AWS WAF challenges; USPTO search handles one name per request, at most once per second, TSDR once per second, document packages once every fifteen seconds, EUIPO four times per second, and retries at most three times on 429 or server errors; similarity scores apply only to Latin-letter names and do not consider goods/services or examiner judgment.
Result description: each office answers in its own section in one of three ways: searched (found is the number of register candidates, examined is the number returned, more indicates there are more, plus counts and marks); not searched because no source covers that office (reason and where to check manually); not searched because the source failed or there are no credentials (error and remediation). Therefore an empty marks list always means "searched, not found", not "unable to view". Relationships are counted hereand are consistent across offices: case, accents, spaces and punctuation are ignored; names containing the name are contains; those returned by other sources are similar. The register searches by word; for two-word names, USPTO search finds both the joined and separated forms, while a single-word form search misses separated trademarks, so it is recommended to also search compound words in spaced form. Goods filtering is performed by the register; USPTO search supports it, the EUIPO search API does not (goods/services are provided only with individual trademark details), and each searched office states applied or unsupported in goods_filter. Sorting is: exact match, contains name, similar; in the first two categories registered comes before pending; in the similar category by score from high to low, then by source relevance. Trademark classes are the currently covered classes; USPTO lists cancelled classes as "(CANCELLED) IC 035", and such classes are not counted in class filtering; expired trademarks retain their original classes.
Troubleshooting: when an office shows searched: false, read its reason or error; RO and WO are never searched, and the reason states where to check manually; an EM configuration error means there are no EUIPO credentials yet; an unsearched office does not mean there is no conflict. A TSDR tool returning config means there is no TSDR key; obtain a key or check the file manually at tsdr.uspto.gov. When auth comes from TSDR, check the key manager to confirm it is a TSDR API key and has not expired; when it comes from EUIPO, compare the client id and secret under Apps at dev.euipo.europa.eu. EM pending in subscription or health means EUIPO has accepted the app but not the calls, and the trademark search subscription is missing or pending approval; before that you can go to https://euipo.europa.eu/eSearch Manual search of EU trademarks. not_found means the USPTO serial number should be 8 digits and the EUIPO application number should be 9 digits (including leading zeros). unsupported means that office has no source, or a trademark file is requested from EM (not provided by the EUIPO API); the message will state where to look. rate_limited means the register is still rate-limited after three retries (TSDR allows 60 reads and 4 document downloads per minute); wait one minute and reduce the number of requests per batch. api means rejection, a server error after retries, or no connection (status 0); try again after one minute, and if it persists, run health; a 401 or 403 returned by USPTO search may mean its page now requires a browser challenge, which this server never answers. drift means the register returned an unknown structure or rejected a query built by the server; the US search is an undocumented backend, and USPTO may change it without notice; please report it.