Random tools coded while learning and exploring MCP (Model Context Protocol) for building AI agents.
Note
All tools are designed for my personal use, so they may not work as expected for you. Feel free to modify the code to suit your needs.
Contains simple tools for code editing by AI agent using Claude (currently). It's based on the tutorial from AmpCode with slight modifications to the code structure and file organization for improved tidiness and performance.
- More modular code with organized file structure
- Performance optimizations in the code with map and in-memory cache for the definition setting
Feel free to explore and modify the code for your own purposes!
Inspired by allenthomas technical walkthrough to explain what and how MCP works in simple terms.
This agent is designed to fetch stock data from Yahoo Finance and EODHD for financial analysis. Inspired by this micro cap experiment.
- Go 1.23 or later
- Anthropic API key
Caution
Beware that this project is still in its early stages and may not be fully functional or stable yet. Use at your own risk. Especially the function where the agent needs to read and write files in your local machine.
- Clone the repository
- Install dependencies using
go mod tidy - Create
.envfile by copy the content from .env.example and adjust the value for each variable, especiallyANTHROPIC_API_KEYwith your own API key from Anthropic.EODHD_API_KEYis optional, you can use it if you want to use EODHD as a fallback for Yahoo Finance. - Run the application using
go run main.goEnsure you have the necessary permissions to run the application, especially if you're using a Mac
Check out the diagram for the visual explanation.
See the demo for a quick overview of the tools in action.
- add tools for interacting with hosted actual budget
- add tools for interacting with local logseq graph
- trading analysis tools using historical data from Yahoo Finance and EODHD againts the current gotrade portfolio
- use tavily for investor sentiment scraping news
- store news as vector in vector database, milvus/qdrant/pgvector?