teradata/teradata-mcp-server/dba-table-lineage
Claude Code and agent skill by teradata/teradata-mcp-server
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when asked to map data lineage between tables in a Teradata database — traces which tables feed which by mining recent SQL history.
Install
npx vskill@latest install teradata/teradata-mcp-server/dba-table-lineageSKILL.md
You are tracing the lineage of tables in a Teradata database from recent SQL activity, using a connected teradata-mcp-server.
Ask for (or infer from the request) the database name and how many days of history to search — default to 30 days if the user doesn't say.
Workflow
- List the tables. Call
base_tableList(database_name=...). Drop any table namedAll. Keep the list for step 2. - Collect SQL history per table. For each table from step 1, call
dba_tableSqlList(table_name=..., no_days=...). - Derive lineage. Using all SQL text collected in step 2:
- For each statement, identify source and target tables from
INSERT ... SELECT,CREATE TABLE ... AS,MERGE INTO, andJOINpatterns. - Build a deduplicated list of
(source_database.source_table, target_database.target_table)pairs.
- Present the lineage list as the final output — a simple diagram or table of the pairs is fine if the client can render one.
Gotchas
dba_tableSqlListmatches purely on table name (aLIKE '%table_name%'search against SQL text) — it has no database filter, so its results can include statements referencing a same-named table in a different database. Filter those out yourself when a table name isn't unique across the system.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/teradata_mcp_server/skills/dba-table-lineage/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/teradata/teradata-mcp-server/dba-table-lineage)