Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/sourceacts-com:sourceacts-com-mcp-tools-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SourceActs MCP Tools API
description: Hosted MCP server that gives AI agents real-time access to official regulatory sources such as EUR-Lex, WTO, UN documents, and national gazettes.
version: 0.1.0
tags:
- name: mcp-tools
paths:
/tools/search_regulations:
post:
tags:
- mcp-tools
summary: Search official regulations
description: 'Search official regulatory texts by keyword, CELEX, or ELI.
Defaults to EUR-Lex via the public Cellar SPARQL endpoint. Set source=uk,
us, australia, canada, denmark, wto, un, or brazil for a single corpus, or source=all
for the primary wired sources. Free plans are limited to EUR-Lex and UK.'
operationId: search_regulations
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SearchRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/tools/fetch_metadata:
post:
tags:
- mcp-tools
summary: Fetch instrument metadata
description: Fetch structured metadata for a CELEX number, ELI URI, Cellar URI, UK citation, Federal Register document number, Danish ELI, or Brazilian Lei/Decreto.
operationId: fetch_metadata
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FetchRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/tools/get_latest_updates:
post:
tags:
- mcp-tools
summary: List latest official updates
description: 'Return recent official instruments from OJ feeds, Cellar, and national gazettes.
Optional `query` and `since` act as a watchlist: keep rows whose title or
identifier match the keyword and whose published_at is on or after `since`.
Pass `seen_hashes` from yesterday''s rows to skip unchanged instruments.
Each remaining row includes `fetch_identifier` for a follow-up fetch_metadata call.
Gazette updates require Starter ($5) or above.'
operationId: get_latest_updates
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LatestRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ToolResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/tools/create_watch:
post:
tags:
- mcp-tools
summary: Create a gazette watch
description: 'Save a gazette watch. We poll official latest feeds and POST only changed rows to webhook_url.
HMAC header X-SourceActs-Signature is t=,v1= over `{timestamp}.{body}`.
The first poll seeds hashes and does not notify. Starter ($5) and above.'
operationId: create_watch
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WatchCreateRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/WatchRecord'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/tools/list_watches:
post:
tags:
- mcp-tools
summary: List gazette watches
description: List saved watches for this API key's workspace. Signing secrets are not returned.
operationId: list_watches
requestBody:
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/WatchListRequest'
- type: 'null'
title: Body
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/WatchRecord'
type: array
title: Response List Watches
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/tools/delete_watch:
post:
tags:
- mcp-tools
summary: Delete a gazette watch
description: Delete a watch by watch_id (wat_…).
operationId: delete_watch
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WatchDeleteRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
additionalProperties: true
type: object
title: Response Delete Watch
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ToolResponse:
properties:
source:
type: string
title: Source
attribution:
type: string
title: Attribution
count:
type: integer
title: Count
items:
items:
$ref: '#/components/schemas/Instrument'
type: array
title: Items
notes:
items:
type: string
type: array
title: Notes
type: object
required:
- source
- attribution
- count
- items
title: ToolResponse
Instrument:
properties:
source:
type: string
title: Source
identifier:
anyOf:
- type: string
- type: 'null'
title: Identifier
title:
anyOf:
- type: string
- type: 'null'
title: Title
date:
anyOf:
- type: string
- type: 'null'
title: Date
eli:
anyOf:
- type: string
- type: 'null'
title: Eli
url:
anyOf:
- type: string
- type: 'null'
title: Url
document_type:
anyOf:
- type: string
- type: 'null'
title: Document Type
extra:
additionalProperties: true
type: object
title: Extra
published_at:
anyOf:
- type: string
- type: 'null'
title: Published At
description: ISO date YYYY-MM-DD when known.
official_url:
anyOf:
- type: string
- type: 'null'
title: Official Url
description: Official publisher locator.
retrieved_at:
anyOf:
- type: string
- type: 'null'
title: Retrieved At
licence:
anyOf:
- type: string
- type: 'null'
title: Licence
tier:
anyOf:
- type: string
- type: 'null'
title: Tier
description: official_feed, portal_listing, or experimental.
content_hash:
anyOf:
- type: string
- type: 'null'
title: Content Hash
description: SHA-256 of source, identifier, title, published_at, official_url, and document_type.
type: object
required:
- source
title: Instrument
WatchCreateRequest:
properties:
source:
type: string
enum:
- all
- eurlex
- wto
- un
- uk
- us
- india
- brazil
- canada
- australia
- denmark
title: Source
default: eurlex
query:
anyOf:
- type: string
maxLength: 300
- type: 'null'
title: Query
webhook_url:
type: string
maxLength: 500
minLength: 8
title: Webhook Url
document_type:
type: string
enum:
- all
- regulation
- directive
- decision
- treaty
- case-law
title: Document Type
default: regulation
language:
type: string
title: Language
default: en
days:
type: integer
maximum: 90.0
minimum: 1.0
title: Days
default: 2
name:
type: string
maxLength: 120
title: Name
default: ''
type: object
required:
- webhook_url
title: WatchCreateRequest
SearchRequest:
properties:
query:
type: string
maxLength: 300
minLength: 2
title: Query
description: Keywords, CELEX number, or ELI URI to search across official sources.
language:
type: string
title: Language
description: ISO 639-1 language code for titles (en, fr, de, da, es, it, nl, pt, sv, pl).
default: en
date_from:
anyOf:
- type: string
- type: 'null'
title: Date From
description: Inclusive start date YYYY-MM-DD.
date_to:
anyOf:
- type: string
- type: 'null'
title: Date To
description: Inclusive end date YYYY-MM-DD.
document_type:
type: string
enum:
- all
- regulation
- directive
- decision
- treaty
- case-law
title: Document Type
description: Filter by instrument type when the source supports it.
default: all
source:
type: string
enum:
- all
- eurlex
- wto
- un
- uk
- us
- india
- brazil
- canada
- australia
- denmark
title: Source
description: 'Official source: eurlex, uk, us, australia, canada, denmark, wto, un, brazil, or all.'
default: eurlex
page:
type: integer
maximum: 200.0
minimum: 1.0
title: Page
default: 1
page_size:
type: integer
maximum: 100.0
minimum: 1.0
title: Page Size
default: 10
type: object
required:
- query
title: SearchRequest
WatchDeleteRequest:
properties:
watch_id:
type: string
maxLength: 40
minLength: 4
title: Watch Id
type: object
required:
- watch_id
title: WatchDeleteRequest
LatestRequest:
properties:
source:
type: string
enum:
- all
- eurlex
- wto
- un
- uk
- us
- india
- brazil
- canada
- australia
- denmark
title: Source
default: eurlex
document_type:
type: string
enum:
- all
- regulation
- directive
- decision
- treaty
- case-law
title: Document Type
default: regulation
language:
type: string
title: Language
default: en
days:
type: integer
maximum: 90.0
minimum: 1.0
title: Days
description: Look back window for SPARQL date filters.
default: 7
page_size:
type: integer
maximum: 100.0
minimum: 1.0
title: Page Size
default: 15
query:
anyOf:
- type: string
maxLength: 300
- type: 'null'
title: Query
description: Optional keyword filter across title and identifier (watchlist).
since:
anyOf:
- type: string
- type: 'null'
title: Since
description: Optional inclusive start date YYYY-MM-DD for published_at.
seen_hashes:
items:
type: string
type: array
maxItems: 500
title: Seen Hashes
description: SHA-256 content_hash values from a previous latest call. Matching rows are omitted so only real changes remain.
type: object
title: LatestRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
WatchListRequest:
properties: {}
type: object
title: WatchListRequest
FetchRequest:
properties:
identifier:
type: string
maxLength: 400
minLength: 3
title: Identifier
description: CELEX number, ELI URI, Cellar URI, UK citation, Australian title id, SOR/SI number, Federal Register document number, Danish ELI or Lovtidende citation, WTO symbol, UN symbol, or Brazilian Lei/Decreto citation.
language:
type: string
title: Language
default: en
source:
type: string
enum:
- all
- eurlex
- wto
- un
- uk
- us
- india
- brazil
- canada
- australia
- denmark
title: Source
default: eurlex
type: object
required:
- identifier
title: FetchRequest
WatchRecord:
properties:
watch_id:
type: string
title: Watch Id
name:
type: string
title: Name
default: ''
source:
type: string
title: Source
query:
type: string
title: Query
default: ''
document_type:
type: string
title: Document Type
days:
type: integer
title: Days
webhook_url:
type: string
title: Webhook Url
enabled:
type: boolean
title: Enabled
last_run_at:
anyOf:
- type: string
- type: 'null'
title: Last Run At
last_status:
type: string
title: Last Status
default: seed
last_error:
type: string
title: Last Error
default: ''
last_hit_count:
type: integer
title: Last Hit Count
default: 0
signing_secret:
anyOf:
- type: string
- type: 'null'
title: Signing Secret
type: object
required:
- watch_id
- source
- document_type
- days
- webhook_url
- enabled
title: WatchRecord
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError