convez.ai
MCP ServerBusca & PesquisaIntermediário
ckhamitkar

Knowledge Base MCP Server

ckhamitkar/knowledge-base-mcp-server

Base de conhecimento com busca semântica e agent IA para documentos

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que funciona como base de conhecimento pessoal com busca semântica e agent LangChain integrado. Permite upload de arquivos, indexação automática e consultas inteligentes sobre documentos usando IA. Ideal para criar assistentes que raciocinam sobre seus próprios dados.

Instalação

$npx convez-ai ckhamitkar/knowledge-base-mcp-server

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
2

Casos de uso

  • Criar assistentes IA que consultam documentos pessoais ou corporativos
  • Implementar busca semântica em repositórios de conhecimento interno
  • Desenvolver agents que respondem perguntas sobre múltiplos documentos

Veredito

Solução prática e bem estruturada para quem precisa de busca semântica + raciocínio sobre documentos no Claude. Requer configuração Hugging Face e oferece API simples, mas documentação é minimalista — use se estiver confortável com setup Python/FastAPI.

README

A tradução para o português deste README ainda está na fila.

Knowledge Base MCP Server

This is a knowledge base server that allows you to upload files, search them using semantic search, and ask questions about them using a LangChain agent.

Features

  • File Management: Add, list, and read files in the knowledge base.
  • Semantic Search: Search for documents using semantic similarity.
  • LangChain Agent: Ask questions about the documents in the knowledge base.

Setup

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Set Hugging Face API Token: To use the LangChain agent, you need to set your Hugging Face API token as an environment variable:

    export HUGGINGFACEHUB_API_TOKEN="your-token-here"
    
  3. Run the server:

    python app.py
    

    The server will be running at http://localhost:8000.

API

Files

  • POST /files/: Upload a file.

    • Form Data: file
    • Example:
      curl -X POST -F "file=@/path/to/your/file.txt" http://localhost:8000/files/
      
  • GET /files/: List all files.

    • Example:
      curl http://localhost:8000/files/
      
  • GET /files/<filename>: Read a file.

    • Example:
      curl http://localhost:8000/files/your-file.txt
      

Search

  • POST /index/: Re-index all documents.

    • Example:
      curl -X POST http://localhost:8000/index/
      
  • POST /search/: Search for documents.

    • Body: {"query": "your search query"}
    • Example:
      curl -X POST -H "Content-Type: application/json" -d '{"query": "your search query"}' http://localhost:8000/search/
      

Agent

  • POST /agent/: Ask a question to the agent.
    • Body: {"query": "your question"}
    • Example:
      curl -X POST -H "Content-Type: application/json" -d '{"query": "your question"}' http://localhost:8000/agent/
      
Ver o original no GitHub

Bom para

Relacionados