---
title: "Discussion on \"🔍 MCP + RAG: Building a Knowledge-Base Tool with Vector Search in TypeScript\" | Hashnode"
description: "Discussion on \"🔍 MCP + RAG: Building a Knowledge-Base Tool with Vector Search in TypeScript\". Give your AI agent long-term memory — ingest documents, embed them into a vector database, and expose semantic search as an MCP tool so Claude can answer questions grounded in your own knowledge"
url: "https://hashnode.com/posts/mcp-rag-building-a-knowledge-base-tool-with-vector-search-in-typescript/6a072a0b73afc8875772c667"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [🔍 MCP + RAG: Building a Knowledge-Base Tool with Vector Search in TypeScript](https://blog.techtush.in/mcp-rag-building-a-knowledge-base-tool-with-vector-search-in-typescript?utm_source=hashnode&utm_medium=feed)

Give your AI agent long-term memory — ingest documents, embed them into a vector database, and expose semantic search as an MCP tool so Claude can answer questions grounded in your own knowledge

May 15 · 16 min read · blog.techtush.in  
Updated May 17  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#ai](https://hashnode.com/tag/ai)
-   [#rag](https://hashnode.com/tag/rag)
-   [#mcp](https://hashnode.com/tag/mcp)
-   [#vector-embeddings](https://hashnode.com/tag/vector-embeddings)
-   [#pgvector](https://hashnode.com/tag/pgvector)
-   [#qdrant](https://hashnode.com/tag/qdrant)
-   [#agentic-ai](https://hashnode.com/tag/agentic-ai)

## Written by

[Tushar Patil](https://hashnode.com/@TechTush)

@TechTush · Maharashtra, India

  
[View profile](https://hashnode.com/@TechTush)

Software Engineer | Tech Enthusiast

Hi 👋, I'm Tushar Patil. Currently I am working as Frontend Developer (Angular) and also have expertise with .Net Core and Framework.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
