TubeToTranscript Logo
TubeToTranscript

MCP Demo using Python, AI and a self healing network (Model Context Protocol)

David Bombal23:22English (auto-generated)
Get transcripts even faster next time

Drag this to your bookmarks bar — click it on any YouTube video to jump straight to its transcript, no copy-pasting the URL here.

Drag this button to your bookmarks bar:
Get Transcript
4,461 words22,739 characters~23 min read593 segments
☕ You just saved ~297 minutes of manual transcribing

Free to use, no account required — but hosting and API costs are real. A small tip keeps it free for the next person too.

00:00

In the next iteration of MCP, you could

00:03

actually write two lines of code to your

00:06

MCP server provided the open API specs

00:09

and it's going to basically build the

00:11

entire MCP server from the open API

00:15

spec. On top of it, we're introducing a

00:17

new piece to that which is MCP that will

00:21

remove a lot of and you'll see it. It's

00:23

going to take away a bunch of headache

00:25

and it's going to make your life so much

00:27

easier. If I was new to this break and I

00:30

don't know Splunk and I don't know Moroi

00:32

that well, this makes my job a lot

00:35

easier. Oh, absolutely. Everyone, I'm

00:36

back with Kareem. Kareem, great to have

00:38

you back on the show, man. Thanks for

00:39

having me, David. I love this cuz this

00:41

is not chitchat. This is a demo. Yes.

00:44

And hopefully, I understand correctly.

00:47

You're going to demo configuration of

00:50

devices using AI. I'm actually going to

00:54

demo self-healing network. Oh wow. Using

00:57

AI. Okay. You got to show us that. So we

01:00

talked about configuration. We talked

01:01

about configuration drift. You and I are

01:03

network engineers. Configuration drift

01:05

is a huge pain. So with the tools that

01:08

we have today, incorporating some of the

01:11

AI tools that we are being introduced

01:13

to, how do we take that, import it, and

01:16

bring it into our automation skills

01:18

without automation skills and have our

01:20

network fix itself? I love this because

01:22

it's a practical demonstration rather

01:24

than just talking. So take it away.

01:26

Okay. So, how much do you know what MCP

01:29

and what is MSUP? Now, I know what it

01:31

is, but a lot of people might not. So,

01:32

can you give us like sort of a breakdown

01:33

like what it is? Yeah. MCP is model

01:36

context protocol. And I want you to

01:38

think of MCP as basically this hole that

01:42

you open up in your LLM. So, it knows

01:45

about your world. We talked a little bit

01:47

before about ragging, right? when when

01:51

we rag uh an LLM, we upload documents to

01:55

chat GPT, so it knows and it knows the

01:58

context of what you're trying to to

02:00

query. Yeah. Right. With MCP, when it

02:03

comes to automation, it allows you to

02:05

open that that like that that little

02:07

hole into the LLM so you can feed it the

02:10

data that you care about and it's going

02:13

to make the the LLM aware of it. So,

02:15

it's a open- source protocol. It's a

02:18

client server protocol where you build a

02:21

server, you make these tools and that

02:24

server server available in the the

02:27

clients that we use. It could be claw

02:30

desktop, it could be chat GPT, it could

02:32

be your own uh LLM that you're running

02:35

on your local machine. As long as it

02:37

supports MCP in knows of your work, it

02:40

in some ways it's similar to an API,

02:42

right? Exactly. It's think of it as

02:44

that's perfect. It's an API endpoint for

02:46

your LL. Okay, great. So, we have

02:48

traditional APIs, but this is like APIs

02:50

for LLM. Yeah. And basically, you're

02:52

you're creating this API for the LLM to

02:55

ingest all the data from the different

02:57

data sources, and it makes it aware of

02:59

what you're trying to do. And this is

03:01

where it plays really nicely with

03:02

network automation. Yeah. So, when we

03:04

talk about network automation, we talked

03:06

about this for like a while for five

03:08

years ago, right? When we talked about

03:09

network automation, it's about, you

03:11

know, having this this script, this

03:13

automation layer on top of your your

03:15

network devices and your controllers

03:18

where you basically via uh

03:20

programmatically you're calling these

03:22

API endpoints, you're creating logic,

03:25

you're doing something with it, whether

03:26

it's getting a list of devices from your

03:28

network, looking at configuration from

03:30

your cattle, etc. You're doing all of

03:32

that. Now, on top of it, we're we're

03:35

introducing a new piece to that, which

03:37

is MCP that will remove a lot of and

03:40

you'll see it. It's going to take away a

03:42

bunch of headache and it's going to make

03:44

your life so much easier. You're selling

03:46

it. I you know, I was skeptical in the

03:49

beginning, but um but I am I'm a

03:52

believer now. Uh and and and I'm only

03:55

touching the surface on this and I

03:56

haven't even started yet. So, I want you

03:58

to think of the scenario, okay? Uh

04:01

you're a network engineer. uh you're

04:03

monitoring your network and uh you

04:05

realize typically in in an environment

04:08

in production, you probably have a

04:10

source of truth somewhere that's

04:11

documenting all your network and that

04:13

source of truth truth netbox or whatever

04:16

it is that you're using. Um you're

04:18

trying to keep your network config to

04:20

the source of truth and anytime it

04:22

drifts you either have to update the

04:24

source of truth or deny the drift

04:26

configuration objective. What takes the

04:28

network down our networks down is

04:30

configuration. Yeah. Now, what if we

04:33

introduce MCP to the current tools that

04:35

we have and have the agent itself

04:39

monitor that and if it detects a drift

04:43

when it not supposed to happen, it

04:45

reverts back to original setting. Oh, I

04:47

like that. So, in other words, the AI is

04:49

monitoring the network. Exactly. and

04:52

it's taking it's taking action for you

04:54

actions that you've thought and you told

04:56

it available at its surveys and it goes

04:59

back and reverts all of that for you and

05:01

this is what I've done. So I'm going to

05:03

show you a quick demo and I'm going to

05:05

show you once we we go through the demo

05:08

I'm going to show you what actually is

05:10

happening underneath the hood. So we're

05:12

looking at uh at cloud desktop claw I I

05:15

chose cloud desktop as my client. Um

05:18

they have a really nice uh LLM that I

05:20

can use a model that uh that's really

05:22

nice as well as it out of the boxes

05:25

supports MCP which is the protocol we

05:27

just talked about that I'm going to be

05:28

using in my network automate show.

05:30

Didn't they was it anthropic? Didn't

05:32

they create MCP? Yeah. So MCP the

05:34

protocol itself is uh anthropics and and

05:37

claude is anthropics version of uh uh um

05:41

model. So when we're looking at this I

05:44

you know I I brought in a couple of

05:46

pieces from a Cisco perspective here. We

05:49

have Splunk is you know for those who

05:51

don't know what Splunk is think of it

05:53

Splunk as a massive log server. Yeah.

05:55

Um, and I have I'm using Moroi dashboard

05:58

as my uh controller that manages my

06:00

devices. And what I've done is I' I've

06:03

hooked up Moroi dashboard to Splunk. So

06:05

whenever any events or any changes

06:07

happen in Moro, it just pushes that log

06:10

into into Splunk. Oh, nice. Now, if you

06:13

overlay AI on top of that and you use

06:17

MCP with the log server and with the

06:19

Moroi configuration, you can actually do

06:22

that entire cycle where you're

06:25

monitoring what's happening with your

06:26

network. Nice. Okay. So, I'm going to

06:29

start the prompt. And before we drill

06:31

into the the fun and cool nerdy stuff,

06:34

uh I'm going to start the prompt with um

06:37

this simple I'm going to start with this

06:39

simple prompt here where I'm going to

06:41

ask it. Okay. And let's have fun with

06:44

it. So, you know, your name is network

06:47

pharaoh. And what I want you to do is I

06:49

want you to look into my uh Splunk logs.

06:53

And I want you to look at only the Moroi

06:57

network where it's um where it's coming

07:01

the alerts from because I'm managing a

07:02

bunch of organizations. So I want to

07:04

specify on the network that I care about

07:07

as well as I want you to search for a

07:09

specific header into my Splunk. So if

07:13

you and I were doing this manually, we

07:15

would go into Splunk, log in, do a

07:16

search query, and we have to exactly

07:18

pinpoint which index the the the log is

07:22

saved in, and then have to do a lot of

07:24

labor there to get to it. And it's, you

07:27

know, searching the learning about

07:29

learning the Moroi query is not very

07:31

trivial. It's like, okay, so I'm going

07:34

to hand that off to the to the LLM and

07:36

I'm going to say, okay, do this for me.

07:37

So notice a couple of things. So it's

07:41

searching the exactly the instruction

07:42

that I gave it. It didn't find anything.

07:45

So it actually continues. She it says,

07:48

"Okay, I I didn't come back. It came

07:50

with an error. So what I'm going to do

07:51

is I'm going to expand out the search

07:53

quer." So it it figured this out on its

07:56

own. That's like an agent run it. Yeah.

07:58

I didn't have to tell it any look. I

07:59

just said go do it. It did the critical

08:02

those parts that we would be doing as

08:05

humans for us. It kept going. It used

08:08

some of the tools that's that's

08:09

available to say okay in Moroi instance

08:12

I have this list of indexes indexes that

08:15

I came back with and voila finally after

08:18

trial and error and tried different

08:20

things in my search query it came back

08:22

and said yep I found exactly what you're

08:25

looking for here's the JSON payload and

08:27

the response from my Splunk instance and

08:30

it printed out exactly what's happening

08:32

so look at this so network pharaoh

08:35

here's your latest Moroi This is it got

08:38

that wrong. The instruction was that

08:39

that the the AI is called network feral,

08:42

not me. But we'll we'll ignore that. So

08:44

if we're looking at this, it listed

08:46

what's going on with my my Moroi uh

08:50

network from a Splunk alerts. It told me

08:52

that as of today 12:46 p.m. Uh these are

08:57

the configuration. There's some settings

08:59

that have changed and I've changed them.

09:01

uh the IP addresses and uh I've changed

09:05

the name of some devices and it tells me

09:08

exactly which devices. It aggregated all

09:10

this data from my Morati log. So this is

09:13

simple because you're going to say okay

09:15

well this is cool but this is just me

09:17

reading logs. Yeah right now it also

09:20

summarizes but if I was new to this

09:24

right and I don't know Splunk and I

09:27

don't know Moroi that well this makes my

09:29

job a lot easier. Oh, absolutely,

09:31

absolutely. And it actually told me it

09:33

it if I were to do this in Splunk, and

09:36

if I can, you know, show you real quick,

09:38

here's a query that very similar to what

09:40

the AI has done for us. This is the

09:42

Splunk query that was returned. Look at

09:45

this. This is the data. This I'm not

09:47

going to know. Yeah. If you don't if you

09:48

don't know it. Yeah. This I mean, can

09:50

you Yep. Exactly. I mean, this is all

09:53

old text, new text on the device. It's

09:55

like you need to you need to find write

09:58

an elaborate query to get exactly what

10:00

you want. Okay. But now that we have AI

10:03

on top of it, the next logical step that

10:06

we should do and say is okay, I want you

10:09

to tell me side by side what changed in

10:14

my network and by who. So this is this

10:19

is part of what we were doing. Now I'm

10:21

I'm using Claude as a client to do this.

10:24

But it printed out a nice report for me.

10:25

That is great. It told me the changes,

10:28

my configuration changes. It told me who

10:30

changed them and when. And it gave me a

10:33

timeline of the changes. It told me

10:36

these are test cases that I was running

10:37

against my network. So this I've done

10:40

this. This was a demo that I did a

10:42

session that I was doing. So I was doing

10:44

those changes live and it gave you the

10:46

switch changes. But this is unacceptable

10:48

because you know this configuration

10:50

drift should not have happened. Um we

10:53

didn't use a source of truth for this.

10:55

There was no net box or anything

10:56

involved. So somebody manually went into

10:59

the the Moroi dashboard and made those

11:02

changes and we can't have that because

11:04

our network is probably now. So what do

11:06

we do? We got to fix it. Yeah. Now in

11:09

the old days to fix it what would you

11:10

have done? We would have gone into the

11:12

devices. We would have had to look at

11:14

the documentation, find out which VLANs

11:16

were deleted. What documentation?

11:18

Exactly. What documentation? It's

11:20

probably an Excel file somewhere, right?

11:22

So, it's just it's pain, right? I love

11:25

this because someone with your

11:26

experience or CCIE, you know, maybe for

11:28

them it's quicker to go and do it the

11:30

manual way, but if I'm just starting out

11:32

on the help desk or someone who's new to

11:34

this, I mean, that's a lot of knowledge

11:36

that you can just pull out very, very

11:38

easily. Absolutely. And all I needed to

11:40

know is the components, right? I needed

11:41

to know that I could I can search data

11:43

in Splunk and I needed to know that

11:47

there was an MCP MCP server for Splunk

11:49

and we'll talk about what that is in a

11:51

little bit here. And then I also needed

11:52

to know that I could change go back to

11:54

make changes to my network via Muraki

11:56

dash. But you could have taught someone

11:58

to write prompts like you can say here's

11:59

some standard prompts to find out what's

12:00

going on and they could learn from that.

12:02

It's much easier to learn that than it

12:03

is to learn all the APIs and everything

12:05

else. easily done something as here are

12:08

uh 10 prompts that you should use to

12:10

troubleshoot your network and copy paste

12:13

them and have the the agent configure it

12:16

and figure it out. So you said the

12:17

problem is now the network there's been

12:18

drift now we need to fix it now we need

12:20

to fix it. So I'm going to tell the AI

12:24

to say okay this kare scander shouldn't

12:27

have guys shouldn't have made any

12:28

changes to the network. What I want you

12:30

to do is I want you to revert back all

12:32

those changes for me. This on its own

12:35

it's going to know a couple of things.

12:36

Now, it's not going to go to Splunk to

12:38

make those changes because Splunk

12:39

doesn't manage my network. But it's

12:41

aware that it also has another MCP

12:44

server that's a Moroi MCP server that

12:47

allows it allows the AI to access those

12:50

APIs in Moro. And so by me telling it

12:54

this, it's going to go say, okay, based

12:58

on the analysis and the devices, here's

13:01

what I'm going to do. And I love this

13:02

because when when we traverse the code,

13:04

I want to show you this. First of all,

13:06

it knew that it needs to go get Moroi

13:09

organization. If you're familiar with

13:10

Moroi or if you're not familiar with

13:12

Moroi, the the way that Moroi works is

13:15

you have an organization within an

13:18

organization you have your uh network

13:21

and within your network you have the

13:23

different devices and network types.

13:25

Okay. So, in order via API, if I was

13:28

automating this, in order for me to go

13:30

do it, I have to go um find out what my

13:34

organization ID is by doing one API

13:36

call, traverse that JSON that I get

13:39

back, pull out the ID that I care about,

13:41

do a bunch of if and else statements,

13:43

and then I have to go from there, find

13:45

out the network ID, and then from the

13:47

network ID, I start pulling in the

13:49

devices so I can start reverting those

13:51

changes. This this AI does not know any

13:54

of that. It only knows that it has

13:56

access to to get organization. It knows

14:00

to get networks. So, and it did it it

14:02

made those jumps and those logics on its

14:05

own. So, it went out and it got a list

14:08

of organizations.

14:10

Next, it looked at the Moroi network

14:13

itself that we made changes to and

14:17

pulled the network ID followed by looked

14:20

at the devices cuz it has access to the

14:22

device IDs and figure out which device

14:25

the changes need to be reverted on.

14:27

That's amazing. You got to show us the

14:28

code in a moment because it's like it's

14:29

like magic. It's it's and it's done.

14:32

Look, so it told me that Kareem's first

14:34

change was this and Kareem's final

14:36

change with this. I've correlated the

14:39

changes. I've configured and I made the

14:40

changes and it reverted back to what it

14:43

originally was. I love this cuz this is

14:45

a nice demo of like LLMs and what they

14:48

powerful at doing. Y but they can't

14:52

configure a network. No, but now you're

14:54

interfacing it with your is it Python

14:56

code or something? It's pure Python

14:57

code. Wow, dude. And it's easy Python.

14:59

You got to show us. Okay, so you can see

15:01

how easy this is and how cool this is.

15:03

And if I go back before I show you dive

15:05

into the code, if I show you this was

15:08

the the change that happened. If I

15:10

refresh my network here, you could see

15:12

that it actually changed to the previous

15:15

value that it found into Splunk for us

15:17

automatically. And it probably changed

15:19

also the IP address and configuration in

15:22

there now. And this is a super simple

15:25

Yeah, see it changed all my gateways and

15:28

my uh IP LAN IP address. So you this is

15:31

a super simple example. It's a proof of

15:33

concept but exactly but imagine doing

15:35

this at scale. Yeah. Okay. Now let's

15:37

look at how easy and what it is that

15:40

happened underneath the hoodie. So first

15:42

of all there are two pieces. We have a

15:45

Splunk MCP server for logging for

15:48

logging and we have uh a Moroi MCP

15:52

serge. And the way that MCPA I mentioned

15:55

earlier it does two things. It does it's

15:58

a client server. So our client it was

16:00

this interface this this was our client

16:02

you needed to build a server for the LLM

16:06

to know of all the tools that it has

16:08

that it's available to it. So if I look

16:10

at anthropics uh cloud here and if I

16:13

click on this notice how it's aware of

16:16

two MCP servers. Yeah. Okay. the MCP

16:20

server for Splunk, it knows that it has

16:22

all these functions, these tools

16:24

available for it, which is things like

16:26

list index. And if you see when it was

16:27

correcting itself, it pulled a list of

16:29

index. Uh it does it did a query. So

16:32

there's a search splunk here. That's how

16:34

it searched our splunk. Then if we take

16:36

that and go over to our code itself and

16:39

and by the way, I'll share all this code

16:41

with uh with our audience here. So on

16:43

it's on your GitHub, right? It's on my

16:44

GitHub. So I'll make sure the link is

16:46

there. But if you if you look at this um

16:48

I'm using there's a couple pieces that

16:50

are important and and the code is is big

16:52

but it's simple. Um there are a couple

16:54

pieces that are important. Um there's

16:57

fast MCP. This is the Python library

17:00

that allows you to build that MCP

17:02

server. Now once you have fast MCP, you

17:05

define your schema. You tell it a whole

17:07

bunch of stuff that um honestly I just

17:10

got I found that MCP server. I just

17:13

needed to implement it against my ins

17:14

but I also needed to edit it a little

17:16

bit and I added some tools. So tools are

17:21

basically the functions that the LLM is

17:24

going to look for to execute some of the

17:27

things we ask it to do. Okay. And so you

17:29

see the MCP server is using async. It

17:31

has multiple ways to communicate from

17:33

the client back to the server. You know

17:35

I don't want to get into so much of

17:37

that. There's a lot of reading that you

17:39

need to learn to to get started with MCP

17:41

or at least write your MCP from scratch.

17:44

A bunch of MCP servers out there. You

17:46

never have to write anything.

17:48

But the the point is we're going to take

17:50

yours. Yeah, you can. Or take mine.

17:52

Absolutely. Exactly. You connect your

17:54

MCP server to your instance of uh Splunk

17:58

and all it's doing from this point on is

18:00

actually using the Splunk SDK to make

18:02

those API calls back and no logic

18:05

whatsoever. They're simple API calls.

18:07

Similarly for our Moroi and this I

18:10

actually wrote this Moro myself, the

18:12

Moroi MCP server itself because there

18:14

wasn't one out there or at least I

18:16

wasn't aware of one. But I want you to

18:17

look at this. So this is my Maro MCP.

18:20

Again, I'm using fast MCP. I am using

18:23

the Moroi SDK. I'm doing nothing more

18:25

than basically what we've been talking

18:28

to you about from an automation

18:29

perspective for the longest time where

18:30

I'm saying I'm instantiating

18:33

MCP. It's going to run on this uh IP

18:36

address. I'm also in starting a new

18:40

instance of uh the dashboard APIs and

18:43

all I did was I defined the tools for

18:45

the MCP and then basically I went and

18:48

made those tools those API calls

18:50

available to the LLM. So get

18:53

organization it's a simple go get me the

18:56

list of organizations. There's no logic

18:58

here. This is just a pure JSON dump

19:01

that's coming back to my API. get me the

19:04

networks. I'm not I'm not telling it,

19:06

hey, first you need to get the

19:08

organization, next you need to get

19:10

networks. I'm just making it available.

19:11

It made that decision. It influenced

19:14

from my prompt and from its knowledge.

19:16

But I mean, how does Claude actually

19:18

know this? Because I mean, this is very

19:19

specific to Cisco knowledge. I it it

19:22

must be trained on those APIs out there.

19:24

Um, Claude learned from my code that

19:28

these tools are available, but it has

19:31

the knowledge of Moroi API because it's

19:33

out there. It's been trained. Exactly.

19:35

And that's that's the power of having an

19:37

LLM at your fingertips. I mean, it's

19:39

amazing to see this. So, Kareem, Mom,

19:41

Slow, I have the LLM. How did did you

19:44

have to do something in Claude to link

19:46

it to this? What did you have to do?

19:47

Good question. It's the the simplest

19:50

thing that I needed to do is in my cloud

19:52

configuration um in the client

19:54

configuration cloud was just an option.

19:56

You can build your own client. It could

19:57

be anything, right? Um in my

20:00

configuration, I actually had to go

20:02

specify where the MCP server lives in my

20:07

cloud configuration itself. Basically, I

20:10

have a JSON here that that defines my

20:12

different MCP servers. It says Splunk

20:15

with the Splunk credentials lives in

20:18

this directory. Here's the this is

20:21

basically how it's executed. So it's

20:23

executed by running Python. This is the

20:26

Python file and this is where it lives

20:29

via standard IO. That's it. And

20:32

similarly for Moroi. It's just a Is this

20:34

an online LLM or is it a local LLM? That

20:37

this is an online. If you go download

20:39

cloud desktop, this is exactly where

20:41

you're going to go. Okay. So it's a

20:42

clawed client just like chat GBPD client

20:45

that's interfacing with the online

20:47

brains if you like. Y that your client

20:50

has a has that configuration that links

20:53

it to your MCP server. My local MCP

20:55

server and that MCP server has APIs that

20:59

it's talking to to Moroi and Splunk.

21:02

Exactly. Wow. And it it contextualized

21:05

all of that for the the brain that's in

21:08

the intern in the internet. And the

21:10

power here is you're using the LLM for

21:12

what it's really good at is passing all

21:14

this data coming back using its

21:16

pre-trained model to actually make sense

21:18

of all that data because imagine trying

21:21

to do this with APIs, man. And then the

21:22

APIs change. Exactly. And that's another

21:24

thing is API change. What's really cool

21:26

too and I haven't done it here. You'll

21:28

see it in some of my uh my blogs that I

21:31

release in the next iteration of MCP.

21:35

You could actually write two lines of

21:38

code to your MCP server provided the

21:41

open API specs and it's going to

21:43

basically build the entire M MCP server

21:46

from the open API specs. You're going to

21:49

show us how to do that at some point. At

21:50

some point yes that's next on my list

21:52

once I I I release all of that. That's

21:55

brilliant. So people I'm sure the same

21:57

as me, right? Where can I get this is so

21:58

your GitHub which we'll link below? Yep.

22:00

And I'm I have a I'm planning a Cisco

22:03

tutorial or blog or something blog write

22:04

up uh on our uh blogs.isco.com. I

22:08

started a new series called um the AI

22:11

break where you take a break and play

22:13

with AI. Um so that's uh the blog is

22:16

coming out. You will see I'm we're I'm

22:18

writing a step-by-step instructions on

22:21

Cisco U on how to implement and and do

22:24

all of this um outside of my blog. And

22:27

that's going to be a Cisco U tutorial.

22:29

It's going to probably be released in

22:30

about um two to three weeks from now. So

22:33

stay tuned for that. Make sure that you

22:35

check out our uh our social channels.

22:37

All of that on uh Cisco, Learn with

22:39

Cisco will all be shared there. If I

22:41

follow Learn with Cisco on X or

22:44

LinkedIn, etc. I'll see the these

22:45

notifications, right? All of that um

22:47

posts once the blogs go out and I will

22:49

make sure that in my blog you'll have

22:51

access to all this code. So for everyone

22:53

who's watching, I've put links below to

22:54

Kareem's GitHub and some other places

22:56

that you can follow. Kim, this is like

22:58

one of the best demos I've ever seen

23:00

because, you know, it's all this theory

23:01

talking, but to actually see it, I mean,

23:03

that's that's what that's what counts.

23:05

It's really cool. I'm super excited

23:06

about it and I think there's a lot of I

23:08

get excited when there's innovation and

23:10

there's a lot of innovation that could

23:12

happen here and and you see it and this

23:14

was not hard at all. If I do it, anybody

23:16

can. Yeah. Not all of us, but I I love

23:18

what you've done here. I mean, it's

23:19

brilliant. Thanks so much, man.

23:20

Appreciate it, man. Thank you.

Want to go further with this transcript?

Summarize, analyze, or repurpose it with GLM's AI models.

Try GLM

Affiliate link, we may earn a commission at no extra cost to you.

Complete YouTube Transcription Suite

Explore All Free YouTube Transcript Tools

Interlinked utilities for creators, researchers, developers, and AI engineers. Web tools are available without an account, subject to caption availability and fair-use limits.

Generator Alternatives

Compare free YouTube transcript tools side-by-side by format and signup.

Open Tool
AI Native

YouTube AI Transcript

AI-ready clean transcript engine for LLMs, Claude, and NotebookLM.

Open Tool
Popular

Transcript for ChatGPT

Pre-chunked transcripts with 1-click custom prompt presets.

Open Tool

Video Study Worksheet

Create timestamped review cues and flashcards from available captions.

Open Tool

Editable Video Blog Draft

Create an editable Markdown draft from an available transcript.

Open Tool
New

Transcript Translator

AI-translate a transcript into nearly 60 languages, not just YouTube’s own caption tracks.

Open Tool
Subtitles

YouTube to SubRip (.SRT)

Export timed subtitle files with exact sequential millisecond timestamps.

Open Tool

YouTube to WebVTT (.VTT)

Standard WebVTT cue files for HTML5 video players and LMS systems.

Open Tool

YouTube to Clean Text (.TXT)

Download continuous text dialogue without timestamps or noise.

Open Tool

YouTube to Markdown (.MD)

Export structured markdown with YAML headers for Obsidian & Notion.

Open Tool

YouTube to JSON (.JSON)

Structured start/duration data payloads for developers and NLP pipelines.

Open Tool

YouTube to CSV / Excel

Export time-aligned rows to Google Sheets, Airtable, and Excel.

Open Tool

Transcript Downloader Hub

Universal multi-format export hub supporting all file formats.

Open Tool

Without Timestamps

Extract clean prose with zero numbers or timecode clutter.

Open Tool

With Timestamps

Extract dialogue with clickable [00:00] timestamp markers.

Open Tool

In-Transcript Word Search

Search exact spoken phrases and instantly jump to timestamps.

Open Tool

Video Quote Finder

Find exact verbatim quotes with surrounding context and links.

Open Tool

Caption Availability Checker

Verify human and auto-generated subtitle streams for any URL.

Open Tool

Word Count & Speech Speed

Calculate speech WPM, character count, and estimated reading time.

Open Tool

Academic Citation Generator

Generate APA, MLA, Chicago, and Harvard video citations.

Open Tool

Transcript Text Cleaner

Strip [Music], [Applause], stray timestamps, and awkward line breaks.

Open Tool

Roman Urdu & Urdu Transcriber

Transcribe and transliterate Hindi/Urdu videos into Roman text.

Open Tool
Power Tool

Batch Multi-Video (Bulk)

Transcribe up to 30 YouTube videos in parallel into 1 combined file.

Open Tool

Full Playlist Transcriber

Provider-backed playlist enumeration and transcript export.

Open Tool

Channel Speech Search

Provider-backed search across supported channel transcript catalogs.

Open Tool

YouTube Shorts Transcriber

Extract captions and dialogue from vertical YouTube Shorts.

Open Tool
API

Developer REST API & MCP

Production REST API and native Model Context Protocol server.

Open Tool

API Documentation & SDKs

Full interactive documentation with Python, cURL, and Node.js examples.

Open Tool
Developer & Automated Workflows

Need to extract transcripts in bulk or connect to AI Agents?

Get your free developer API key with 10 free requests or connect TubeToTranscript directly to Claude Desktop and Cursor using native MCP.