Options Data API MCP Tool Created In the Logical Labs Using Local LLMs

Options Data API MCP Tool Created In the Logical Labs Using Local LLMs by @thelogicaldude on 3Speak

What's happening everyone! Today I am wanting to introduce my latest project, optionsdataapi.com! It's my first of what will hopefully be many data intelligence tools for finance, trading, and any ...

Tags: #developer #options #tools #mcp #llms #optionsdataapi #building #agents #video

Transcript

While it's happening, my captains, it's your boy, the logical dude, hanging out in the labs, getting some work done. You might see my AI brain back here doing a bunch of work. We are working on final stages and launch stuff for OptionsData API.com. It is my first data intelligence site that I am putting out there for the Agenic Marketplace. I have been working on tools for my own options trading that I do for my family. So I do that for income and that kind of thing. So... But I've been looking at things the wrong way a lot of the time, really just kind of based on my own understanding of the markets, my own trade, you know, learning, and that kind of thing, and not so much on the raw data, or not even the raw data, I found out with options, you've got to be paying attention to things like gex, volatility, gamma, all that kind of stuff, you know, and most people are like, whoo, you know, they don't know what that kind of stuff is. that's the kind of stuff that you need to know you need to know where the market makers are positioned and that kind of thing you need that little bit of alpha to help you out well I built the tools that do that so I don't focus just on stocks that I know and understand anymore. I built in, screener tools, I built in, all these different calculations that you can get different endpoints using the API to give you that data to help you make the right traits. You can see where the dealers are positioned on certain stocks. You can have the screener go out and scan 50 different stocks and see which ones are the best opportunities for the week. It may pull back 20. It may pull back only 10. You know, it just depends on the market for that week. you know, and then you can take those and you can run some more data and see which ones are the best picks for you that week, whether you're long, short, that kind of thing. So that's what Options Data API is providing, not just for humans, but for agents as well. I built it on top of the X402 payment platform that Coinbase came out with, and... I built my own facilitators, so I'm not dealing with third-party facilitators from Circle or from anybody else. It's going straight through our server, straight through the blockchain, and we're using, I'm not using private base nodes yet, but I'm working on it. I'm trying to figure out what I can rearrange around here in my servers and stuff to be able to make enough room to run a base node. until I can, you know, get some revenue coming in and I can build a base node machine with a couple of GPUs to help with some LLM stuff, you know, but I got to have that revenue coming in. And it's hard to do it these days in the human economy, so I'm tapping into that agendic economy. I'm trying to get in on the base layer of this kind of stuff, and I'm trying to offer good calculated data, not just raw data, you know? I take raw data from raw data providers and then make it into something that's actually useful. So let's take a look at the actual site because not only did I build the MCP to go along with the API that you can use in your own ancient software like Claude Cline. Hermes, Elm Studio, anything that you can work with MCP tools, you can work with our tools. So, not only that, but I also built in a chat agent directly onto the site. His name's Bob, and he's really helpful. Bob lives right here. So sharing resources, which I need some revenue, so this whole platform can go onto its own computer, and Bob can have its own resources, not sharing it with my other stuff. So, yay. And also, it's the same model, to be perfectly transparent, that Block Tens is using for Harmony and Lyrical GPD. So I would love to be able to get that separated somehow, but I need some revenue. So, yeah, that just is what it is. It's just the way business runs. But what I'm not doing is I'm not paying subscriptions, because this is the first app that I have fully built with all local models running a combination of Quinn. 3.8, 27B for like the high level planning, and then for also QA and review, and then 35B, a 3B, which is a mixture of experts model, all running 6-bit quants. I ain't trying to squeeze down. 6-bit works perfectly well with this, in combination of the chatbot model that's running. Anyway, that was a lot. 80D brain trying to process all this for you in a way that you can understand. But anyway, running that mixture of experts model as, like, my main workhorse. So it runs fast and smooth, and then I've got the dense model that runs slower on my machine, doing all my, like, you know, big high-level reasoning, planning, and review, and QA, bug fixing, that kind of thing. So that's what that's all about. So anyway. Let's get into the site, and let me show you what's going on. Okay, everybody, so here in the front end, so this is the landing page for OptionsDataAPi .com. So this has all the information that you need to know where your dealers are positioned before they move. And when I talk about options dealers, I'm talking about the market makers, the ones that are actually like, you know... putting the liquidity out there in the markets. So they like to hedge their books by buying and selling the underlying assets. So this creates some invisible support and resistance zones that you may not otherwise see, but our options, tools can help you find those positions. So we have Bob, which is our... awesome little chat agent here. So he can tell you everything that you need to know about this site, can tell you how you can use these data points, that kind of thing. Not only that, when you come in and you connect your wallet, because, again, this is all built on the X402 platform on the base blockchain. So this is Layer 2 base USDC that you're paying with and all that kind of stuff. But when you go and connect your wallet, so you connect your MetaMass, Brave wallet, whatever it is, whatever EVM wallet, your account will then have the ability to create API keys. Okay, so once you pay for those API keys, then that API key is associated automatically with your wallet account, whether it's a PAYGO account or a subscription. So, we'll talk about that in a minute. But once you sign in, and if you have a subscription or a PAYGO API key, Bob turns into... a full-on advisor. So he goes from... chat support agent, which just tells you about the site, tells you about the data that we can provide, how you can use it, that kind of thing, to getting the data for you. So it becomes your advisor agent at that point. So, and it will also tell you how much your balance is, how much longer you have in your subscription, all that kind of stuff. So Bob is a very, very handy little tool, and he runs right here locally on my machine, like I was saying earlier. So what you get with this section can tell you all the different endpoints, how much they cost, and what you're getting with those endpoints. And we've got a bundle endpoint, so it's the structure endpoint, which actually gets gamma VRP and term structure all in one call, and we give you a discount for that. Then there's a universal screener, which scans 50 plus tickers. and basically tries to rank them in a composite score, where dealer's position and that kind of thing, and gives you the top 20 scores with the best opportunities. So try to, you know, do what we can for you in that instance, try to help get you pointed in the right direction. But it does cost a little bit because it's a very valuable tool. So we talked about Bob. So, you know, like I said, Bob is your assistant and your advisor, all in one. It just depends on if you're signed in and if you got an API key. But you can learn more by going and checking out that section. But let's talk about the MCP tool for a minute. So. Model Contact Protocol is a way for AI agents to be able to have different skills, get different types of data, access, different APIs, databases, so on and so forth. So it's basically giving your local agent different skill sets, you know, different toolboxes, per se. Our tool, so our API can be embedded into anything like Claude Code, cursor, Klein, you know, all that kind of stuff, Hermase, whatever agent, or just directly into like LM Studio or something like that. So if you can set up MCP tools, you can use our tool directly in your own agent. and that's what this is for. So we have a couple of different options for you, which is cool. I got it set up in different ways. So we have the NPM registry option. I'll put it out there, trying to make it as official as possible, so you can use the direct NPM registry. Just put in your API key that gives you a way to be able to copy and paste this into your MCP JSON code. Down here you have the self-hosted option, so you can click here and download directly from our servers. It comes to you in a zip file that you open up and you place wherever you want to place it on your computer, and then you put this into your MCP server JSON and use your path to that tool. You can also view the source on GitHub and download directly from there as well. It tells you what tools are embedded into the MCP tool. If you don't have an API key, just leave that section blank, and your agent will just pay per call through the X402 payment platform. All right, kind of shows you some sample instructions, that kind of thing that you can give it. So this is our four developers section, just, you know, paper call, curl signing, API curl signing. So we, you know, give you the ability to kind of customize your own tools using our, you know, using our API calls. All right, and then here's our pricing. So we have the variable pricing section, as you see. We'll talk about PAYGO for a second in just a second. But we have the starter, which is for regular use. It's $49 a month. You get 500 calls a month. You can use all the end points. 10 calls per minute. That's just because right now I have got limitations on my back end, so I'm trying to keep it as... you know, balanced as possible. As I start getting revenue into this platform, guess what? The data gets better, too, and the tools get better, so, yeah, get some revenue coming in, I can actually do more. We have the pro version, which is 129 a month, that gets you 2,000 calls a month, all the end points, 25 calls per minute, and as well as the starter, you get Bob as an options advisor instead of just a chat support agent. So we have the monthly, and we also have yearly plans. So this will create API keys, and it will track for the month. And then you just have to come in and manually re-up. So anytime you're using Bob, or any time you sign in, and you click on your... your account area, it will show you your countdown or your balance left over for the PAYGO section. So that's segue down into that. If you don't want to do a monthly or a yearly kind of subscription API, you can do a pay-as-you-go situation. To where you can come in, you can start with as little as one USDC. Just go from there. You know, use the calls as you need them. You know, if you just want to put in 5, 10 bucks, you can do that, and it will just kind of knock down your balance. And then you can just keep topping up that same balance. So you can keep that same API key going and just keep topping it up. You know, use it as you go. So PAYGO, there's no rate limits or anything like that. You just keep using it, which is really cool. you can use the MCP tool as well as Bob as an options advisor. So, good stuff, good stuff. Explains how all that works, who it's for, and that kind of thing. And then we've got our API documentation, which just kind of explains some of the technical stuff that's already been listed up there. But yeah, this kind of gives you even more. We also have full documentation in the form of markdown status. and you can get that by calling this here, the agent docs. It's agent docs actually slash index.md, but you can just call that and be able to get all that information. And that is what you can feed directly into an LLM, and it will have all the information that needs to be able to use our platform. So, as you can see, a lot of work has gone into this. We even have a full FAQ section down here. that you can read up on some stuff. And again, any information is all available through Bob. If none of this makes any sense to you, Bob can help it make sense. It can explain it to you in a way that can help you understand it. So that is our wonderful front end for options data. API.com if you want to get some really good stuff. Like I said, these are the tools that I built for my own trading purposes. So come use them. Come check it out. As you guys can see, I have been hard at work trying to get this platform up and going. It's been, what's cool is that it's been about a couple of weeks worth of development. And that's not only just the development, that's gone from planning to release in actually less than two weeks. So, a little over a week and a half. And that is not bad, considering I am using all local AI, which is awesome. No Claude, no chat GPT, no grok, none of the open source models, other than what's downloaded on my computer, none of the cloud -based models or anything like that. I have gone all subscription-free. This has been a great test on... seeing how I can make that happen. And so that's actually what I'm going to be talking about in my next video is my workflow and how I am getting basically clawed level results out of models that I'm running right here on my desk. So, make sure that you guys follow me. And if y'all want to know more about how my workflow is going with AI and how I'm building these tools, then, yeah. Check out next video. So anyway, that's it for me today. Be cool. Be real. Always abide with yourself. Not just what everybody else wants you to do. You abide with you, my dudes. Have a good one. Peace out.

More videos on 3Speak