Virtual Accounting Chatbot With FastMCP
An AI-powered Financial & Accounting Assistant built with Model Context Protocol (MCP), Ollama, and Streamlit. Automates taxpayer data retrieval, banking inquiries, and official legal petition generation using local LLMs.
Ask AI about Virtual Accounting Chatbot With FastMCP
Powered by Claude Β· Grounded in docs
I know everything about Virtual Accounting Chatbot With FastMCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
π Virtual Accounting Chatbot with FastMCP
An AI-powered Virtual Accounting Assistant built with FastMCP, local LLMs, and Streamlit.
This project demonstrates how the Model Context Protocol (MCP) can be used to build an intelligent accounting chatbot that understands natural language queries, retrieves financial data, and generates official accounting documents using local language models.
π Table of Contents
- About the Project
- Features
- System Architecture
- Installation
- Running the Application
- UI Preview
- Project Structure
- Example Use Cases
- Technologies Used
- License
π About the Project
The Virtual Accounting Chatbot with FastMCP is an AI-based chatbot designed to assist with accounting and financial operations through natural language interaction.
It enables users to:
- Ask accounting-related questions
- Retrieve financial or taxpayer information
- Generate official documents such as petitions or reports
- Interact with structured tools via MCP instead of plain text responses
The project uses FastMCP to connect LLM reasoning with custom accounting tools, and Streamlit to provide a simple and interactive user interface.
π Features
- π€ AI-powered accounting chatbot
- π Model Context Protocol (MCP) integration
- π§ Local LLM support (e.g., Ollama)
- π₯οΈ Streamlit-based user interface
- π Automatic document and petition generation
- π Financial data querying via natural language
- π οΈ Modular and extensible tool-based architecture
π§ System Architecture
The system consists of four main components:
-
FastMCP Server
- Acts as a bridge between the LLM and accounting tools
- Exposes structured tools instead of raw text prompts
-
Local LLM (e.g., Ollama)
- Understands user queries
- Decides which MCP tools to call
-
Streamlit UI
- Provides a chat-based interface
- Displays responses and generated documents
-
Database (Optional)
- Stores accounting data, query history, or mock financial records
π οΈ Installation
1οΈβ£ Clone the Repository
git clone https://github.com/iremclk812/Virtual-Accounting-Chatbot-with-FastMCP.git
cd Virtual-Accounting-Chatbot-with-FastMCP
2οΈβ£ Create a Virtual Environment
python -m venv venv
source venv/bin/activate # macOS / Linux
venv\Scripts\activate # Windows
3οΈβ£ Install Dependencies
pip install -r requirements.txt
βΆοΈ Running the Application
Start the FastMCP Server
python mcp_server.py
Launch the Streamlit Interface
streamlit run chatbot_gui.py
Then open your browser at:
πΌοΈ UI Preview (Conceptual)
Below is a conceptual representation of the chatbot interface:
βββββββββββββββββββββββββββββββββββββββββββββ
β Virtual Accounting Chatbot β
βββββββββββββββββββββββββββββββββββββββββββββ€
β User: Show my annual financial report β
β AI: Please specify the year. β
β β
β User: 2025 β
β AI: Here is your 2025 financial summary β
β β
βββββββββββββββββββββββββββββββββββββββββββββ€
β Tip: You can say "generate a petition" β
βββββββββββββββββββββββββββββββββββββββββββββ
You can add real screenshots by placing images in the repository and linking them here.
π Project Structure
.
βββ client/
β βββ assets/ # UI images or static files
βββ db/
β βββ data.db # Database (optional)
βββ tools/
β βββ accounting_tools.py # MCP accounting tools
βββ mcp_server.py # FastMCP server
βββ chatbot_gui.py # Streamlit UI
βββ requirements.txt
βββ README.md
π‘ Example Use Cases
- βShow my tax obligations for this year.β
- βGet my current bank account balance.β
- βSummarize expenses by category.β
- βGenerate an official accounting petition.β
- βPrepare a financial report for Q1.β
π§° Technologies Used
- Python
- FastMCP (Model Context Protocol)
- Streamlit
- Local LLMs (e.g., Ollama)
- SQLite / JSON (optional storage)
π License
This project is licensed under the MIT License.
See the LICENSE file for more details.
