Rugby
World rankings, fixtures, results, league tables and match stats for rugby union
- Connector software
- Free and open source
- Service credentials
- Not needed
- Query Farm hosting
- Available Β· $10/month organization minimum
Use with an agent
Install the Orchard skill in your project to help your agent find connectors, configure them, and verify SQL results.
npx skills add Query-farm/vgi-skills --skill orchard
Copy this request into your coding agent to get started.
Use https://query.farm/products/orchard/connectors/rugby/index.md to help me query Rugby with DuckDB or Haybarn 2.0.1 and VGI protocol 3.4. Ask only for missing details about the result I need or whether I want local execution, self-hosting or Query Farm hosting. Check the connector's actual hosting availability, credentials and input requirements. Read one format of each needed reference and the exact object declarations before writing SQL. Use a released connector, and distinguish a saved example result from anything you actually execute. If you cannot run the query, tell me what remains to verify.
six_nations_2026_champion
Example output Β· captured
- Connector release
- v0.3.1
- Engine
- 2.0.1
- VGI protocol
- 3.4.0
SELECT team_name, table_points
FROM rugby.main.standings(league := 'six_nations', season := 2026)
WHERE rank = 1;
| team_name | table_points |
|---|---|
| France | 21 |
Quick start
Choose where to run Rugby, then follow the steps below.
The connector runs alongside DuckDB or Haybarn. No Query Farm account is needed.
1. Install the vgi extension
Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
2. Attach the connector
Attach with uvx
Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.
ATTACH 'rugby' AS rugby (
TYPE vgi,
LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-rugby'
);
3. Run a query
SELECT team_name, table_points
FROM rugby.main.standings(league := 'six_nations', season := 2026)
WHERE rank = 1;
Run the connector on a server you manage. You operate the service and choose who can connect.
1. Deploy the connector on your server
Follow the connectorβs deployment instructions. Use its supported HTTP transport, or launch it remotely over SSH. The connection guide explains both options.
2. Install the vgi extension
Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
3. Attach the connector
For an HTTP deployment, replace the example URL with your endpoint. Add the authentication options your deployment requires. For SSH, use the SSH connection instructions.
ATTACH 'rugby' AS rugby
(TYPE vgi, LOCATION 'https://your-connector.example.com');
4. Run a query
SELECT team_name, table_points
FROM rugby.main.standings(league := 'six_nations', season := 2026)
WHERE rank = 1;
Query Farm operates Rugby for your team. Hosting has a $10 monthly minimum per organization; usage counts toward it. From $2.97 per instance-month ($10 monthly minimum).
1. Create your hosted connector
Open the console, choose your organization and deployment size, and add any service credentials there.
2. Install the vgi extension
SET allow_extension_repositories = 'allowed';
CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
WITH PREFIX 'https://duckdb-extensions.query.farm';
INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;
INSTALL vgi FROM community;
LOAD vgi;
3. Attach your deployment
Copy the ATTACH statement from your deployment in the console and run it in DuckDB or Haybarn. Use rugby as the catalog alias for the query below.
4. Run a query
SELECT team_name, table_points
FROM rugby.main.standings(league := 'six_nations', season := 2026)
WHERE rank = 1;
Technical details
- Verified connector release
- v0.3.1
- Engine
- 2.0.1
- VGI protocol
- 3.4.0
- Verified on
- December 1, 2026
Pin a version for production
When running the connector yourself, keep a specific release until youβre ready to upgrade. Replace the ATTACH statement above with this one and follow the same extension and credential setup.
Attach with uvx
Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.
ATTACH 'rugby' AS rugby (
TYPE vgi,
LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-rugby'
);
Overview
Read-only rugby union data: official World Rugby rankings and match feed, plus ESPN league tables, fixtures, results and box scores
Analyse rugby union from SQL: official world rankings and a match feed covering every sanctioned competition, plus league tables, fixtures, results and box scores for the major club and international competitions (Six Nations, Rugby Championship, Gallagher Prem, URC, Top 14, the European cups, Super Rugby and the Rugby World Cup).
Two sources, two id spaces
- World Rugby (the governing body) supplies rankings, the cross-competition match feed and per-match team statistics, team sheets and timelines, keyed by World Rugby's 36-character
match_id. - ESPN supplies league tables with bonus points, season fixtures and results, and team and player box scores, keyed by a league key (such as
six_nations) and ESPN's integerevent_id.
Join the two sources on team names and dates, never on ids. Split seasons are labelled by their end year, so the 2026-27 Premiership is season 2027.
Access is read-only and keyless. The worker is not affiliated with World Rugby, ESPN or any league; data is fetched on demand and never rehosted.
Sources and references
- World Rugby, the sport's governing body, and its official world rankings.
- ESPN rugby and its league tables; ESPN's endpoints are undocumented and subject to the Disney terms of use.
Catalog
Everything rugby exposes once attached β read straight from the worker's
released build.
main 4 tables Β· 17 functions
Rugby union rankings, matches, tables and box scores
Schema examples (6)
The current Gallagher Prem table.
SELECT rank, team_name, games_played, table_points
FROM rugby.main.current_standings
WHERE league = 'premiership'
ORDER BY rank;
Champions Cup pool leaders.
SELECT group_name, team_name, table_points
FROM rugby.main.current_standings
WHERE league = 'champions_cup' AND rank = 1
ORDER BY group_name;
2026 Six Nations upsets: results won by the side ranked lower in the World Rugby rankings in force before the championship (ESPN results joined to World Rugby rankings on team name).
WITH start_ranks AS (SELECT team_name, position FROM rugby.main.world_rankings(as_of := DATE '2026-02-01')) SELECT r.kickoff::DATE AS day, r.home_team_name, r.home_score, r.away_score, r.away_team_name, h.position AS home_rank, a.position AS away_rank
FROM rugby.main.results(league := 'six_nations', season := 2026) AS r
JOIN start_ranks AS h ON h.team_name = r.home_team_name
JOIN start_ranks AS a ON a.team_name = r.away_team_name
WHERE (r.home_score > r.away_score AND h.position > a.position) OR (r.away_score > r.home_score AND a.position > h.position)
ORDER BY r.kickoff;
Final 2026 Six Nations table beside each team's World Rugby ranking before (1 February) and after (16 March) the championship, with the ranking points gained or lost.
SELECT s.rank AS table_rank, s.team_name, s.table_points,
b.position AS rank_before, a.position AS rank_after,
round(a.points - b.points, 2) AS ranking_points_change
FROM rugby.main.standings(league := 'six_nations', season := 2026) AS s
JOIN rugby.main.world_rankings(as_of := DATE '2026-02-01') AS b USING (team_name)
JOIN rugby.main.world_rankings(as_of := DATE '2026-03-16') AS a USING (team_name)
ORDER BY s.rank;
2 more examples
Nations Championship results from 1-10 November 2026 with each side's world ranking going in, joined on World Rugby team ids.
SELECT m.local_date, m.home_team_name, m.home_score, m.away_score,
m.away_team_name, h.position AS home_rank, a.position AS away_rank
FROM rugby.main.matches(start_date := DATE '2026-11-01', end_date := DATE '2026-11-10') AS m
JOIN rugby.main.world_rankings(as_of := DATE '2026-11-01') AS h ON h.wr_team_id = m.home_wr_team_id
JOIN rugby.main.world_rankings(as_of := DATE '2026-11-01') AS a ON a.wr_team_id = m.away_wr_team_id
WHERE m.competition = 'Nations Championship 2026'
ORDER BY m.kickoff;
Every score in England v Australia, 8 November 2026, with the scorer's team-sheet position (Replacement for the bench) and whether he started (timeline joined to the team sheets on wr_player_id).
SELECT t.clock_label, t.team_name, t.event_type, t.player_name, sq.position,
sq.is_starter
FROM rugby.main.match_timeline('d21f7bed-f2f9-45bd-be33-3a0fc9beec42') AS t
LEFT JOIN rugby.main.match_squads('d21f7bed-f2f9-45bd-be33-3a0fc9beec42') AS sq USING (wr_player_id)
WHERE t.points > 0
ORDER BY t.sequence;
competitions
Rugby competitions and the league keys the catalog accepts
International competitions and their current season.
SELECT league, name, current_season
FROM rugby.main.competitions
WHERE level = 'international'
ORDER BY name;
current_matches
World Rugby matches from seven days ago to seven days ahead, one row per match
Recent results in men's international rugby.
SELECT local_date, competition, home_team_name, home_score, away_score,
away_team_name
FROM rugby.main.current_matches
WHERE is_complete AND gender = 'men' AND (competition ILIKE '%Nations%' OR competition ILIKE '%International%')
ORDER BY kickoff;
Upcoming matches in the next week.
SELECT kickoff, competition, home_team_name, away_team_name
FROM rugby.main.current_matches
WHERE NOT is_complete AND kickoff > now()
ORDER BY kickoff
LIMIT 20;
current_standings
Current tables of the headline rugby competitions, one row per team per table
The current Gallagher Prem table.
SELECT rank, team_name, games_played, table_points
FROM rugby.main.current_standings
WHERE league = 'premiership'
ORDER BY rank;
Champions Cup pool leaders.
SELECT group_name, team_name, table_points
FROM rugby.main.current_standings
WHERE league = 'champions_cup' AND rank = 1
ORDER BY group_name;
current_world_rankings
Current official World Rugby men's and women's rankings, one row per team
Current men's top ten.
SELECT position, team_name, points, points_change
FROM rugby.main.current_world_rankings
WHERE gender = 'men' AND position <= 10
ORDER BY position;
Biggest risers in the latest women's update.
SELECT team_name, previous_position, position
FROM rugby.main.current_world_rankings
WHERE gender = 'women'
ORDER BY previous_position - position DESC
LIMIT 5;
all_competitions ()
Every rugby competition key the catalog accepts (scan behind competitions)
Active club competitions.
SELECT league, name, region
FROM rugby.main.all_competitions()
WHERE level = 'club' AND is_active
ORDER BY name;
all_current_matches ()
World Rugby matches from seven days ago to seven days ahead (scan behind current_matches)
Completed matches in the current window.
SELECT competition, home_team_name, home_score, away_score, away_team_name
FROM rugby.main.all_current_matches()
WHERE is_complete
ORDER BY kickoff;
all_current_standings ()
Current tables of the headline rugby competitions (scan behind current_standings)
Current leaders of every headline competition.
SELECT league_name, group_name, team_name, table_points
FROM rugby.main.all_current_standings()
WHERE rank = 1
ORDER BY league_name, group_name;
all_current_world_rankings ()
Current men's and women's World Rugby rankings (scan behind current_world_rankings)
Read both current number-one teams from the backing scan.
SELECT gender, team_name, points
FROM rugby.main.all_current_world_rankings()
WHERE position = 1
ORDER BY gender;
fixtures (league := VARCHAR, season := INTEGER)
Upcoming and unfinished matches for one rugby competition season
Upcoming 2026-27 Gallagher Prem fixtures.
SELECT kickoff, home_team_name, away_team_name, venue_name
FROM rugby.main.fixtures(league := 'premiership', season := 2027)
ORDER BY kickoff
LIMIT 10;
Opening fixtures of the 2027 Rugby World Cup
SELECT kickoff, home_team_name, away_team_name
FROM rugby.main.fixtures(league := 'rugby_world_cup', season := 2027)
ORDER BY kickoff
LIMIT 10;
match_lineups (league VARCHAR, event_id INTEGER)
Named match-day squads for one ESPN rugby event
Ireland's starting fifteen against Scotland, 14 March 2026.
SELECT jersey_number, player_name, position
FROM rugby.main.match_lineups('six_nations', 602514)
WHERE home_away = 'home' AND is_starter
ORDER BY jersey_number;
match_player_stats (league VARCHAR, event_id INTEGER)
Per-player box score for one ESPN rugby event
Leading tacklers in Ireland v Scotland, 14 March 2026.
SELECT team_name, player_name, tackles, missed_tackles
FROM rugby.main.match_player_stats('six_nations', 602514)
ORDER BY tackles DESC
LIMIT 5;
Point scorers in Ireland v Scotland, 14 March 2026
SELECT team_name, player_name, points, tries
FROM rugby.main.match_player_stats('six_nations', 602514)
WHERE points > 0
ORDER BY points DESC;
match_squads (match_id VARCHAR)
Team sheets and per-player statistics for one World Rugby match
Top tacklers in England v Australia, 8 November 2026.
SELECT team_name, player_name, tackles, missed_tackles
FROM rugby.main.match_squads('d21f7bed-f2f9-45bd-be33-3a0fc9beec42')
ORDER BY tackles DESC NULLS LAST
LIMIT 5;
Starting fifteens for England v Australia, 8 November 2026
SELECT team_name, jersey_number, player_name, position
FROM rugby.main.match_squads('d21f7bed-f2f9-45bd-be33-3a0fc9beec42')
WHERE is_starter
ORDER BY team_index, jersey_number;
match_stats (match_id VARCHAR)
Team statistics for one World Rugby match, one row per team and statistic
Side-by-side key statistics for England v Australia, 8 November 2026.
SELECT stat, max(value) FILTER (WHERE team_index = 0) AS home,
max(value) FILTER (WHERE team_index = 1) AS away
FROM rugby.main.match_stats('d21f7bed-f2f9-45bd-be33-3a0fc9beec42')
WHERE stat IN ('carries_metres', 'clean_breaks', 'tackles', 'possession')
GROUP BY stat;
Metres carried by each side in England v Australia, 8 November 2026
SELECT team_name, value AS metres
FROM rugby.main.match_stats('d21f7bed-f2f9-45bd-be33-3a0fc9beec42')
WHERE stat = 'carries_metres'
ORDER BY team_index;
match_team_stats (league VARCHAR, event_id INTEGER)
Team box-score statistics for one ESPN rugby event, one row per team and statistic
Ireland v Scotland, 14 March 2026: tackles and metres.
SELECT team_name, stat, value
FROM rugby.main.match_team_stats('six_nations', 602514)
WHERE stat IN ('tackles', 'metres')
ORDER BY stat, home_away;
match_timeline (match_id VARCHAR)
Timeline of scores, cards and replacements for one World Rugby match
Scoring sequence of England v Australia, 8 November 2026.
SELECT clock_label, team_name, event_type, player_name, home_score,
away_score
FROM rugby.main.match_timeline('d21f7bed-f2f9-45bd-be33-3a0fc9beec42')
WHERE points > 0
ORDER BY sequence;
Every score in England v Australia, 8 November 2026, with the scorer's team-sheet position (Replacement for the bench) and whether he started (timeline joined to the team sheets on wr_player_id).
SELECT t.clock_label, t.team_name, t.event_type, t.player_name, sq.position,
sq.is_starter
FROM rugby.main.match_timeline('d21f7bed-f2f9-45bd-be33-3a0fc9beec42') AS t
LEFT JOIN rugby.main.match_squads('d21f7bed-f2f9-45bd-be33-3a0fc9beec42') AS sq USING (wr_player_id)
WHERE t.points > 0
ORDER BY t.sequence;
matches (end_date := DATE, start_date := DATE)
World Rugby's cross-competition match feed for a date range
Test results from the 2026 autumn window.
SELECT local_date, home_team_name, home_score, away_score, away_team_name
FROM rugby.main.matches(start_date := DATE '2026-11-01', end_date := DATE '2026-11-10')
WHERE competition ILIKE 'Nations Championship%'
ORDER BY kickoff;
Nations Championship results from 1-10 November 2026 with each side's world ranking going in, joined on World Rugby team ids.
SELECT m.local_date, m.home_team_name, m.home_score, m.away_score,
m.away_team_name, h.position AS home_rank, a.position AS away_rank
FROM rugby.main.matches(start_date := DATE '2026-11-01', end_date := DATE '2026-11-10') AS m
JOIN rugby.main.world_rankings(as_of := DATE '2026-11-01') AS h ON h.wr_team_id = m.home_wr_team_id
JOIN rugby.main.world_rankings(as_of := DATE '2026-11-01') AS a ON a.wr_team_id = m.away_wr_team_id
WHERE m.competition = 'Nations Championship 2026'
ORDER BY m.kickoff;
results (league := VARCHAR, season := INTEGER)
Finished matches and scores for one rugby competition season
Every 2026 Six Nations result.
SELECT kickoff::DATE AS day, home_team_name, home_score, away_score,
away_team_name
FROM rugby.main.results(league := 'six_nations', season := 2026)
ORDER BY kickoff;
2026 Six Nations upsets: results won by the side ranked lower in the World Rugby rankings in force before the championship (ESPN results joined to World Rugby rankings on team name).
WITH start_ranks AS (SELECT team_name, position FROM rugby.main.world_rankings(as_of := DATE '2026-02-01')) SELECT r.kickoff::DATE AS day, r.home_team_name, r.home_score, r.away_score, r.away_team_name, h.position AS home_rank, a.position AS away_rank
FROM rugby.main.results(league := 'six_nations', season := 2026) AS r
JOIN start_ranks AS h ON h.team_name = r.home_team_name
JOIN start_ranks AS a ON a.team_name = r.away_team_name
WHERE (r.home_score > r.away_score AND h.position > a.position) OR (r.away_score > r.home_score AND a.position > h.position)
ORDER BY r.kickoff;
scoreboard (dates := VARCHAR, league := VARCHAR)
Rugby scoreboard for a competition on a day, month or year
Super Saturday, 14 March 2026.
SELECT kickoff, home_team_name, home_score, away_score, away_team_name,
status_detail
FROM rugby.main.scoreboard(league := 'six_nations', dates := '20260314')
ORDER BY kickoff;
standings (league := VARCHAR, season := INTEGER)
Rugby league table for one competition and season
The final 2026 Six Nations table.
SELECT rank, team_name, wins, losses, points_difference, bonus_points,
table_points
FROM rugby.main.standings(league := 'six_nations', season := 2026)
ORDER BY rank;
The 2025-26 Gallagher Prem table.
SELECT rank, team_name, table_points
FROM rugby.main.standings(league := 'premiership', season := 2026)
ORDER BY rank;
Final 2026 Six Nations table beside each team's World Rugby ranking before (1 February) and after (16 March) the championship, with the ranking points gained or lost.
SELECT s.rank AS table_rank, s.team_name, s.table_points,
b.position AS rank_before, a.position AS rank_after,
round(a.points - b.points, 2) AS ranking_points_change
FROM rugby.main.standings(league := 'six_nations', season := 2026) AS s
JOIN rugby.main.world_rankings(as_of := DATE '2026-02-01') AS b USING (team_name)
JOIN rugby.main.world_rankings(as_of := DATE '2026-03-16') AS a USING (team_name)
ORDER BY s.rank;
teams (league := VARCHAR)
Teams in one rugby competition
Teams in the United Rugby Championship.
SELECT team_id, team_name, abbreviation
FROM rugby.main.teams(league := 'urc')
ORDER BY team_name;
The six Six Nations teams
SELECT team_id, team_name, abbreviation
FROM rugby.main.teams()
ORDER BY team_name;
world_rankings (as_of := DATE, gender := VARCHAR)
Official World Rugby men's or women's rankings, current or as of a date
Men's top ten after the 2023 Rugby World Cup final.
SELECT position, team_name, points
FROM rugby.main.world_rankings(as_of := DATE '2023-10-30')
WHERE position <= 10
ORDER BY position;
Current women's top five.
SELECT position, team_name, points
FROM rugby.main.world_rankings(gender := 'women')
ORDER BY position
LIMIT 5;
Try these queries
both_rankings_are_populated β The current rankings table carries both the men's and women's tables.
SELECT count(DISTINCT gender) = 2 AND count(*) > 100 AS populated
FROM rugby.main.current_world_rankings;
six_nations_2026_has_fifteen_results β A Six Nations championship is fifteen matches.
SELECT count(*) AS matches
FROM rugby.main.results(league := 'six_nations', season := 2026);
Uses results
rankings_after_2023_world_cup β South Africa led the men's rankings after winning the 2023 Rugby World Cup.
SELECT team_name
FROM rugby.main.world_rankings(as_of := DATE '2023-10-30')
WHERE position = 1;
Uses world_rankings
The current Gallagher Prem table.
SELECT rank, team_name, games_played, table_points
FROM rugby.main.current_standings
WHERE league = 'premiership'
ORDER BY rank
Uses current_standings
Final 2026 Six Nations table beside each team's World Rugby ranking before (1 February) and after (16 March) the championship, with the ranking points gained or lost.
SELECT s.rank AS table_rank, s.team_name, s.table_points,
b.position AS rank_before, a.position AS rank_after,
round(a.points - b.points, 2) AS ranking_points_change
FROM rugby.main.standings(league := 'six_nations', season := 2026) AS s
JOIN rugby.main.world_rankings(as_of := DATE '2026-02-01') AS b USING (team_name)
JOIN rugby.main.world_rankings(as_of := DATE '2026-03-16') AS a USING (team_name)
ORDER BY s.rank
Nations Championship results from 1-10 November 2026 with each side's world ranking going in, joined on World Rugby team ids.
SELECT m.local_date, m.home_team_name, m.home_score, m.away_score,
m.away_team_name, h.position AS home_rank, a.position AS away_rank
FROM rugby.main.matches(start_date := DATE '2026-11-01', end_date := DATE '2026-11-10') AS m
JOIN rugby.main.world_rankings(as_of := DATE '2026-11-01') AS h ON h.wr_team_id = m.home_wr_team_id
JOIN rugby.main.world_rankings(as_of := DATE '2026-11-01') AS a ON a.wr_team_id = m.away_wr_team_id
WHERE m.competition = 'Nations Championship 2026'
ORDER BY m.kickoff
32 more examples in the Catalog, each listed under the table or function it uses.
Questions it can answer
Plain-English questions from the worker's agent test tasks. An AI agent with this catalog attached should answer each one with SQL.
- Who is ranked number one in the men's and women's World Rugby rankings right now?
- Show the final 2026 Six Nations table with bonus points and table points, and say how many points France scored across the championship.
- Which team was ranked number one in the men's world rankings on 30 October 2023, and with how many points?
- List the scoring sequence of the England v Australia test on 8 November 2026, with who scored and the running score.
- Who made the most tackles in the Ireland v Scotland Six Nations match on 14 March 2026, did he start, and how many tackles did Ireland make as a team?
- Which team currently tops the Gallagher Prem table?
Rugby is an independent open-source connector from Query.Farm. It is not affiliated with, endorsed by or sponsored by the services, projects or organisations it works with. Product names, logos and trademarks belong to their respective owners.
Related workers
Cricket
Sports
Cricket matches, scorecards, ball-by-ball deliveries, standings, and ICC rankings as SQL tables
Formula 1
Sports
F1 standings, results, calendars, lap times, and session timing as SQL tables
Golf
Sports
PGA Tour, DP World, LIV, LPGA, Champions and Korn Ferry leaderboards plus OWGR