28 cards where the text includes “graveyard into your library”

Archangel's Light {7}{W}

Sorcery

You gain 2 life for each card in your graveyard, then shuffle your graveyard into your library.

Archival Whorl {3}{U}{U}

Sorcery

Gift a Rhystic Study

Shuffle your hand and graveyard into your library, then draw seven cards. If the gift wasn’t promised, each other player also shuffles their hand and graveyard into their library, then draws seven cards.

Barishi {2}{G}{G}

Creature — Elemental

When Barishi dies, exile Barishi, then shuffle all creature cards from your graveyard into your library.

4/3
Bookwurm {7}{G}

Creature — Wurm

Trample

When Bookwurm enters, you gain 3 life and draw a card.

{2}{G}: Put Bookwurm from your graveyard into your library third from the top.

7/7
Campfire {1}

Artifact

{1}, {T}: You gain 2 life.

{2}, {T}, Exile Campfire: Put all commanders you own from the command zone and from your graveyard into your hand. Then shuffle your graveyard into your library.

Covetous Castaway {1}{U}

Creature — Human

When Covetous Castaway dies, mill three cards. (Put the top three cards of your library into your graveyard.)

Disturb {3}{U}{U} (You may cast this card from your graveyard transformed for its disturb cost.)

1/3
Ghostly Castigator

Creature — Spirit

Flying

When Ghostly Castigator enters, you may shuffle up to three target cards from your graveyard into your library.

If Ghostly Castigator would be put into a graveyard from anywhere, exile it instead.

3/4
Devious Cover-Up {2}{U}{U}

Instant

Counter target spell. If that spell is countered this way, exile it instead of putting it into its owner’s graveyard. You may shuffle up to four target cards from your graveyard into your library.

Elvish Soultiller {3}{G}{G}

Creature — Elf Mutant

When Elvish Soultiller dies, choose a creature type. Shuffle all creature cards of that type from your graveyard into your library.

5/4
Enhanced Surveillance {1}{U}

Enchantment

You may look at an additional two cards each time you surveil.

Exile Enhanced Surveillance: Shuffle your graveyard into your library.

Feldon's Cane {1}

Artifact

{T}, Exile Feldon’s Cane: Shuffle your graveyard into your library.

Finale of Revelation {X}{U}{U}

Sorcery

Draw X cards. If X is 10 or more, instead shuffle your graveyard into your library, draw X cards, untap up to five lands, and you have no maximum hand size for the rest of the game.

Exile Finale of Revelation.

Gaea's Blessing {1}{G}

Sorcery

Target player shuffles up to three target cards from their graveyard into their library.

Draw a card.

When Gaea’s Blessing is put into your graveyard from your library, shuffle your graveyard into your library.

Inverter of Truth {2}{B}{B}

Creature — Eldrazi

Devoid (This card has no color.)

Flying

When Inverter of Truth enters, exile all cards from your library face down, then shuffle all cards from your graveyard into your library.

6/6
Midnight Clock {2}{U}

Artifact

{T}: Add {U}.

{2}{U}: Put an hour counter on Midnight Clock.

At the beginning of each upkeep, put an hour counter on Midnight Clock.

When the twelfth hour counter is put on Midnight Clock, shuffle your hand and graveyard into your library, then draw seven cards. Exile Midnight Clock.

Oracle of Tragedy {1}{U}

Creature — Human Wizard

When Oracle of Tragedy enters or dies, choose one —

• Draw a card, then discard a card.

• Shuffle up to four target cards with mana value 3 or greater from your graveyard into your library.

1/3
Paradigm Shift {1}{U}

Sorcery

Exile all cards from your library. Then shuffle your graveyard into your library.

Perpetual Timepiece {2}

Artifact

{T}: Mill two cards.

{2}, Exile Perpetual Timepiece: Shuffle any number of target cards from your graveyard into your library.

Piper's Melody {G}

Sorcery

Shuffle any number of target creature cards from your graveyard into your library.

Psychic Spiral {4}{U}

Instant

Shuffle all cards from your graveyard into your library. Target player mills that many cards.

Put Away {2}{U}{U}

Instant

Counter target spell. You may shuffle up to one target card from your graveyard into your library.

Renewing Touch {G}

Sorcery

Shuffle any number of target creature cards from your graveyard into your library.

Rooting Kavu {2}{G}{G}

Creature — Kavu

When Rooting Kavu dies, you may exile it. If you do, shuffle all creature cards from your graveyard into your library.

4/3
Screaming Swarm {5}{U}

Creature — Bird Horror

Flying

Whenever you attack with one or more creatures, target player mills that many cards. (To mill a card, a player puts the top card of their library into their graveyard.)

{2}{U}: Put Screaming Swarm from your graveyard into your library second from the top.

4/4
Stream of Thought {U}

Sorcery

Target player mills four cards. You shuffle up to four cards from your graveyard into your library.

Replicate {2}{U}{U} (When you cast this spell, copy it for each time you paid its replicate cost. You may choose new targets for the copies.)

Tamiyo Meets the Story Circle {1}{U}

Enchantment — Saga

(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)

I — Until your next turn, whenever a creature attacks you or a planeswalker you control, it gets -2/-0 until end of turn.

II — Discard any number of cards, then investigate twice for each card discarded this way.

III — Shuffle up to three target cards from your graveyard into your library.

The Bath Song {3}{U}

Enchantment — Saga

(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)

I, II — Draw two cards, then discard a card.

III — Shuffle any number of target cards from your graveyard into your library. Add {U}{U}.

The Mending of Dominaria {3}{G}{G}

Enchantment — Saga

(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)

I, II — Mill two cards, then you may return a creature card from your graveyard to your hand.

III — Return all land cards from your graveyard to the battlefield, then shuffle your graveyard into your library.

Wand of Vertebrae {1}

Artifact

{T}: Mill a card.

{2}, {T}, Exile Wand of Vertebrae: Shuffle up to five target cards from your graveyard into your library.

In the blink of an eye, they strode from deep snow to the end of this search.